Changeset 10218


Ignore:
Timestamp:
2008-01-17T15:46:10+01:00 (10 years ago)
Author:
juhosg
Message:

[tools] firmware-utils:fix a bug in mkzynfw, thanks to <theosch at gmx.de> (closes #3003)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/firmware-utils/src/mkzynfw.c

    r9493 r10218  
    795795        int i; 
    796796 
    797         if ( num_blocks > MAX_NUM_BLOCKS ) { 
     797        if ( num_blocks >= MAX_NUM_BLOCKS ) { 
    798798                ERR("too many blocks specified"); 
    799799                return -1; 
Note: See TracChangeset for help on using the changeset viewer.