mirror of
https://gitee.com/openharmony/filemanagement_storage_service
synced 2024-11-23 06:59:59 +00:00
update test/fuzztest/fscryptutils_fuzzer/fscryptutils_fuzzer.cpp.
Signed-off-by: zhuhongtao666 <zhuhongtao12@huawei.com>
This commit is contained in:
parent
de723f418c
commit
fcf2cea7da
@ -28,8 +28,7 @@ bool FscryptUtilsFuzzTest(const uint8_t *data, size_t size)
|
||||
}
|
||||
|
||||
char character[MAX_NUM] = { 0x00 };
|
||||
if (EOK != memcpy_s(character, sizeof(character)-1, data, size))
|
||||
{
|
||||
if (EOK != memcpy_s(character, sizeof(character)-1, data, size)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user