Parent Directory | Revision Log | Patch
revision 6.1 by kusanagi, Tue Jun 27 10:25:42 2006 UTC | revision 6.4 by pam-fi, Thu Nov 2 12:20:08 2006 UTC | |
---|---|---|
# | Line 65 void hunpacker_(unsigned short *header, | Line 65 void hunpacker_(unsigned short *header, |
65 | ||
66 | *startcrc=*curpos; | *startcrc=*curpos; |
67 | ||
68 | if( *curpos+13>*len ) { | if( *curpos+(2*13)-1>*len ) { |
69 | printf("hunpacker: Unexpected end of file\n"); | // printf("hunpacker: Unexpected end of file\n"); |
70 | *error=1; | *error=1; |
71 | return ; | return ; |
72 | } | } |
|
ViewVC Help | |
Powered by ViewVC 1.1.23 |