提交 c80d7680 authored 作者: William King's avatar William King

My bad. some how a make didn't catch this issue after a cleanup refactor. In…

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.
上级 f3393ef3
......@@ -75,7 +75,7 @@ static int decode_open_type(const uint8_t *buf, int limit, int *len, const uint8
return -1;
/* 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;
*pbuf = &buf[*len];
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论