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

Commit 371da9af authored by Chad Brubaker's avatar Chad Brubaker
Browse files

Enable unsigned-integer-overflow

Turn on unsigned-integer-overflow for libstagefright.so. This is only
for the top level Android.mk and doesn't turn on overflow checking in
all the libaries and codecs included.

This causes unsigned integer overflows to abort the process instead of
potentially being security bugs.

Bug: 23110888
Change-Id: I719ae48c4c3f940a9431d173621885bd344a8401
(cherry picked from commit 70794607)
parent e21dfd02
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -135,6 +135,7 @@ LOCAL_CFLAGS += -DENABLE_STAGEFRIGHT_EXPERIMENTS
endif

LOCAL_CLANG := true
LOCAL_SANITIZE := unsigned-integer-overflow

LOCAL_MODULE:= libstagefright