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

Commit 94e63fcb authored by Nick Kralevich's avatar Nick Kralevich Committed by android-build-merger
Browse files

Merge "libziparchive: add integer checks" am: 80e72443 am: d25aebd7

am: ec0c0e91

Change-Id: I27d6db4f880689f966da899f90fa3a9dfa1ef608
parents 8523bc2b ec0c0e91
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -38,6 +38,19 @@ cc_defaults {
            ],
        },
    },
    sanitize: {
        misc_undefined: [
            "signed-integer-overflow",
            "unsigned-integer-overflow",
            "shift",
            "integer-divide-by-zero",
            "implicit-signed-integer-truncation",
            // TODO: Fix crash when we enable this option
            // "implicit-unsigned-integer-truncation",
            // TODO: not tested yet.
            // "implicit-integer-sign-change",
        ],
    },
}

cc_defaults {