From 80f360a3d6b499599615ca70701363f7ddf397a4 Mon Sep 17 00:00:00 2001 From: "tsepez@chromium.org" Date: Thu, 23 Jan 2014 01:36:19 +0000 Subject: LogMessage::Init must check untrusted severity_ value before using it as an array index. Another common case hit with the IPC fuzzer, and easy to handle. BUG=329723 Review URL: https://codereview.chromium.org/138953003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246474 0039d316-1c4b-4281-b951-d872f2087c98 --- PRESUBMIT.py | 1 + 1 file changed, 1 insertion(+) (limited to 'PRESUBMIT.py') diff --git a/PRESUBMIT.py b/PRESUBMIT.py index ad2eaa0..d344390 100644 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py @@ -889,6 +889,7 @@ def _CheckSpamLogging(input_api, output_api): _TEST_CODE_EXCLUDED_PATHS + input_api.DEFAULT_BLACK_LIST + (r"^base[\\\/]logging\.h$", + r"^base[\\\/]logging\.cc$", r"^chrome[\\\/]app[\\\/]chrome_main_delegate\.cc$", r"^chrome[\\\/]browser[\\\/]chrome_browser_main\.cc$", r"^chrome[\\\/]browser[\\\/]ui[\\\/]startup[\\\/]" -- cgit v1.1