Whamcloud - gitweb
AOSP: e2fsdroid: static import of libbase
authorAlessio Balsini <balsini@google.com>
Wed, 18 May 2022 17:09:16 +0000 (18:09 +0100)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 13 Sep 2022 14:41:22 +0000 (10:41 -0400)
commitdbaedc87e9d048077385c3a07a5ffbde518e5d28
tree4808a54556d20f72e34b43f70879c63a86bc0a61
parent80c777a3458879029232adbb16b2fcd503316ce1
AOSP: e2fsdroid: static import of libbase

Fix a wrong mixed shared/static library inclusion that has been unveiled
by a recent clang upgrade to clang-r450784e: the linker couldn't find
the requested object reference and caused the tool to crash.
libsnapshot_fuzzer_test was luckily catching this misbehaviour as it was
crashing as well when trying to format a loop device as ext4.

Bug: 230851331
Test: m && atest libsnapshot_fuzzer_test
Signed-off-by: Alessio Balsini <balsini@google.com>
Change-Id: I20b7b1d66920eb8f767e49311f913564f14ee30e
Fix AOSP commit: 83239ca87da0bbdb088be7f0d048472e837899c2
contrib/android/Android.bp