mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2024-10-07 08:24:11 +00:00
修改FUZZ在asan版本下问题
Signed-off-by: kangchongtao <kangchongtao@huawei.com>
This commit is contained in:
parent
204477879c
commit
11ef185aa8
@ -126,7 +126,7 @@ public:
|
||||
decltype(cachedItems_) temp(std::move(cachedItems_));
|
||||
|
||||
for (auto& [oldindex, child] : temp) {
|
||||
if (oldindex == index) {
|
||||
if (static_cast<size_t>(oldindex) == index) {
|
||||
node = child.second;
|
||||
} else {
|
||||
cachedItems_.try_emplace(
|
||||
|
@ -80,6 +80,7 @@ ohos_fuzztest("ImageLoaderFuzzTest") {
|
||||
"$ace_root/frameworks/core/event/back_end_event_manager.cpp",
|
||||
|
||||
# mock
|
||||
"$ace_root/frameworks/core/components_ng/test/mock/image_provider/mock_skia_image_data.cpp",
|
||||
"$ace_root/frameworks/core/components_ng/test/mock/render/mock_skia_image.cpp",
|
||||
"$ace_root/test/mock/adapter/mock_file_uri_helper_ohos.cpp",
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user