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

Commit 1c38d8d1 authored by Dan Austin's avatar Dan Austin
Browse files

Enable fsanitize signed-integer-overflow in Soft MPEG3 decoder

Bug: 23752600
Change-Id: I9922b1b670d142c060764aada1670f38e7ce5de4
parent 0ca175b8
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