Lines 348-354
Link Here
|
348 |
* long length; first byte is length of length (after masking high bit) |
348 |
* long length; first byte is length of length (after masking high bit) |
349 |
*/ |
349 |
*/ |
350 |
len_len = (int) ((*pkt & ~0x80) + 1); |
350 |
len_len = (int) ((*pkt & ~0x80) + 1); |
351 |
if ((int) pkt_len <= len_len ) |
351 |
if ((int) pkt_len < len_len ) |
352 |
return NULL; /* still too short for length and data */ |
352 |
return NULL; /* still too short for length and data */ |
353 |
|
353 |
|
354 |
/* now we know we have enough data to parse length */ |
354 |
/* now we know we have enough data to parse length */ |