My bad. some how a make didn't catch this issue after a cleanup refactor. In this instance buf is being treated as an 8 byte number, not a pointer.

This commit is contained in:
William King 2013-05-18 17:46:13 -07:00
parent f3393ef362
commit c80d768004
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ static int decode_open_type(const uint8_t *buf, int limit, int *len, const uint8
return -1; return -1;
/* Was told the buffer was large enough, but in reality it didn't exist. FS-5202 */ /* Was told the buffer was large enough, but in reality it didn't exist. FS-5202 */
if ( buf[*len] == NULL ) if ( buf[*len] == 0 )
return -1; return -1;
*pbuf = &buf[*len]; *pbuf = &buf[*len];