提交 307ca948 编写于 作者: Z zhangboyuan

fuzz用例整改

Signed-off-by: Nzhangboyuan <zhangboyuan1@huawei.com>
上级 0177bf64
......@@ -219,7 +219,7 @@ namespace OHOS {
bool UpdateSendBufferTest(const uint8_t* data, size_t size)
{
if (data == nullptr || size == 0) {
if (data == nullptr || size < sizeof(uint32_t)) {
return false;
}
BufferObject object;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册