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

Commit 58fdf7cc authored by Dan Austin's avatar Dan Austin Committed by Gerrit Code Review
Browse files

Merge "Enable fsanitize signed-integer-overflow in Soft MPEG3 decoder"

parents 571590fd 1c38d8d1
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -51,6 +51,8 @@ LOCAL_CFLAGS := \
        -D"OSCL_UNUSED_ARG(x)=(void)(x)"
        -D"OSCL_UNUSED_ARG(x)=(void)(x)"


LOCAL_CFLAGS += -Werror
LOCAL_CFLAGS += -Werror
LOCAL_CLANG := true
LOCAL_SANITIZE := signed-integer-overflow


LOCAL_MODULE := libstagefright_mp3dec
LOCAL_MODULE := libstagefright_mp3dec


@@ -72,6 +74,8 @@ LOCAL_C_INCLUDES := \
        $(LOCAL_PATH)/include
        $(LOCAL_PATH)/include


LOCAL_CFLAGS += -Werror
LOCAL_CFLAGS += -Werror
LOCAL_CLANG := true
LOCAL_SANITIZE := signed-integer-overflow


LOCAL_SHARED_LIBRARIES := \
LOCAL_SHARED_LIBRARIES := \
        libstagefright libstagefright_omx libstagefright_foundation libutils liblog
        libstagefright libstagefright_omx libstagefright_foundation libutils liblog
@@ -96,6 +100,8 @@ LOCAL_C_INCLUDES := \
        $(LOCAL_PATH)/test/include \
        $(LOCAL_PATH)/test/include \
        $(call include-path-for, audio-utils)
        $(call include-path-for, audio-utils)


LOCAL_CLANG := true
LOCAL_SANITIZE := signed-integer-overflow
LOCAL_STATIC_LIBRARIES := \
LOCAL_STATIC_LIBRARIES := \
        libstagefright_mp3dec libsndfile
        libstagefright_mp3dec libsndfile