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

Commit 2eada2af authored by Tom Cherry's avatar Tom Cherry Committed by android-build-merger
Browse files

Merge "init: only use signed-integer-overflow sanitizer"

am: a19f481c

Change-Id: I7f1e3ad1008f4d7d3588bbeca7c72bb0d9defeec
parents 07c337bb a19f481c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ cc_defaults {
    name: "init_defaults",
    cpp_std: "experimental",
    sanitize: {
        misc_undefined: ["integer"],
        misc_undefined: ["signed-integer-overflow"],
    },
    cppflags: [
        "-DLOG_UEVENTS=0",
+1 −1
Original line number Diff line number Diff line
@@ -99,5 +99,5 @@ LOCAL_POST_INSTALL_CMD := $(hide) mkdir -p $(TARGET_ROOT_OUT)/sbin; \
    ln -sf ../init $(TARGET_ROOT_OUT)/sbin/ueventd; \
    ln -sf ../init $(TARGET_ROOT_OUT)/sbin/watchdogd

LOCAL_SANITIZE := integer
LOCAL_SANITIZE := signed-integer-overflow
include $(BUILD_EXECUTABLE)