.inferconfig
author Ted Campbell <tcampbell@mozilla.com>
Tue, 28 Nov 2017 23:01:49 -0500
changeset 442685 84ca5dce1d6a63bc64612876eccee30fc45080f9
parent 401999 4a1023c9c098810251bc5bb21b5d2617982fa15d
permissions -rw-r--r--
Bug 1418894 - Harden XDR data decoding. r=nbp a=gchang This patch adds better error detection to XDR decoding to reduce memory corruption in the event that XDR data is corrupt (which is not *supposed* to happen). Add missing default cases. Make out-of-range values fail the decode by asserting in debug, and returning a TranscodeError in release. Mix a magic value into enum value before transcoding to buffer (to reduce chance of garbage data being decoded). MozReview-Commit-ID: 1wPkho9dm8c

{
    "infer-blacklist-path-regex": [
        // This is full of issues, and is a dependency we need to discard
        // sooner rather than later anyway:
        "mobile/android/thirdparty/ch/boye/httpclientandroidlib"
    ]
}