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

Commit 6b72f15d authored by Dan Austin's avatar Dan Austin Committed by android-build-merger
Browse files

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

am: 58fdf7cc

* commit '58fdf7cc':
  Enable fsanitize signed-integer-overflow in Soft MPEG3 decoder
parents 0f7c7fb8 58fdf7cc
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -51,6 +51,8 @@ LOCAL_CFLAGS := \
        -D"OSCL_UNUSED_ARG(x)=(void)(x)"

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

LOCAL_MODULE := libstagefright_mp3dec

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

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

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

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