diff options
author | tsepez@chromium.org <tsepez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-23 01:36:19 +0000 |
---|---|---|
committer | tsepez@chromium.org <tsepez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-23 01:36:19 +0000 |
commit | 80f360a3d6b499599615ca70701363f7ddf397a4 (patch) | |
tree | b1c9b57952fda59d2547491a9e0eb04a6b18a8bf /PRESUBMIT.py | |
parent | 4820eaca224104a8b4389ef2a434be805c9e0436 (diff) | |
download | chromium_src-80f360a3d6b499599615ca70701363f7ddf397a4.zip chromium_src-80f360a3d6b499599615ca70701363f7ddf397a4.tar.gz chromium_src-80f360a3d6b499599615ca70701363f7ddf397a4.tar.bz2 |
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
Diffstat (limited to 'PRESUBMIT.py')
-rw-r--r-- | PRESUBMIT.py | 1 |
1 files changed, 1 insertions, 0 deletions
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[\\\/]" |