| 64 |
nhead = 13; /* packed */ |
nhead = 13; /* packed */ |
| 65 |
|
|
| 66 |
*startcrc=*curpos; |
*startcrc=*curpos; |
| 67 |
|
|
| 68 |
for (i=0;i<13;i++){ |
if( *curpos+(2*13)>*len ) { |
| 69 |
getbytes_(&nbytes2,buff,curpos,&buffer_temp[i]); |
// printf("hunpacker: Unexpected end of file\n"); |
|
|
|
|
if( *curpos-1>*len ) { |
|
|
printf("hunpacker: Unexpected end of file\n"); |
|
| 70 |
*error=1; |
*error=1; |
| 71 |
return ; |
return ; |
|
} |
|
| 72 |
} |
} |
| 73 |
|
|
| 74 |
|
for (i=0;i<13;i++) |
| 75 |
|
getbytes_(&nbytes2,buff,curpos,&buffer_temp[i]); |
| 76 |
|
|
| 77 |
/****************************************************************/ |
/****************************************************************/ |
| 78 |
|
|
| 79 |
|
|