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

Commit e16bdb1b authored by Dan Willemsen's avatar Dan Willemsen
Browse files

libutils: Limit integer sanitize to target only

This matches what the Android.mk defined, and should temporarily fix
builds that were broken with:

system/core/libutils/Unicode.cpp:225:12: runtime error: unsigned integer
overflow: 0 - 1 cannot be represented in type 'size_t' (aka 'unsigned
long')

Change-Id: I0363b42fc2d62dfd2d05649c9aa9ef0be573e20a
parent 41e82a3c
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -66,6 +66,10 @@ cc_library {
                "libdl",
                "liblog",
            ],

            sanitize: {
                misc_undefined: ["integer"],
            },
        },

        host: {
@@ -96,9 +100,6 @@ cc_library {
    },

    clang: true,
    sanitize: {
        misc_undefined: ["integer"],
    },
}

// Include subdirectory makefiles