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:
parent
f3393ef362
commit
c80d768004
|
@ -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];
|
||||||
|
|
Loading…
Reference in New Issue