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

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

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

am: d25aebd7

Change-Id: I2895fa552d2390a133e9e345f1acecf9be9517c7
parents fc3ccad7 d25aebd7
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 {