Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2dff98d1 authored by Rakesh Kumar's avatar Rakesh Kumar
Browse files

WriterFuzzer: Fix multiple library linkage

In libstagefright_writer_fuzzer "libstagefright_webm" library are
getting linked multiple times which leads to multiple destruction.
Multiple destruction of the same library lead to a crash.

libstagefright_webm, libstagefright_esds, libogg libraries are
statically linked in "libstagefright" which is dynamically linked
in "libstagefright_fuzzer_defaults" which is included while defining
"libstagefright_writer_fuzzer". So static linking of above three
libraries again in libstagefright_writer_fuzzer is not required
because it will lead to multiple linkages and multiple destructions.

Bug: 180629956
Test: test in bug

Change-Id: I789d900d52b7f4a2171ace45128c3ecf115a9213
parent 726677e6
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -85,9 +85,6 @@ cc_fuzz {
    dictionary: "dictionaries/formats.dict",
    defaults: ["libstagefright_fuzzer_defaults"],
    static_libs: [
        "libstagefright_webm",
        "libdatasource",
        "libstagefright_esds",
        "libogg",
    ],
}