commit | 3b5491253f01695c7b1003d83a819279b17de9a1 | [log] [tgz] |
---|---|---|
author | Alessio Balsini <balsini@google.com> | Mon Oct 21 11:20:32 2019 -0700 |
committer | android-build-merger <android-build-merger@google.com> | Mon Oct 21 11:20:32 2019 -0700 |
tree | 04657d0f01cb2477c2c231a8143fe93097838e41 | |
parent | 19177b66cb9683ccbd88ac795ac9645ade617bff [diff] | |
parent | f5b2927908622aec40be8644602fcd126257bc50 [diff] |
Merge "Fix fuzzer name and sizeof(array)" am: f5b2927908 Change-Id: I356d5474d304fa28606e53deac5cf9b8c2059711
diff --git a/fs_mgr/libdm/Android.bp b/fs_mgr/libdm/Android.bp index 3ce909e..8a924d5 100644 --- a/fs_mgr/libdm/Android.bp +++ b/fs_mgr/libdm/Android.bp
@@ -81,7 +81,7 @@ } cc_fuzz { - name: "dm_table_fuzzer", + name: "dm_linear_table_fuzzer", defaults: ["fs_mgr_defaults"], srcs: [ "dm_linear_fuzzer.cpp",
diff --git a/fs_mgr/libdm/dm_linear_fuzzer.cpp b/fs_mgr/libdm/dm_linear_fuzzer.cpp index b119635..8462901 100644 --- a/fs_mgr/libdm/dm_linear_fuzzer.cpp +++ b/fs_mgr/libdm/dm_linear_fuzzer.cpp
@@ -76,7 +76,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { uint64_t val[6]; - if (size != sizeof(*val)) { + if (size != sizeof(val)) { return 0; }