summaryrefslogtreecommitdiffstats
path: root/net/proxy
diff options
context:
space:
mode:
authormrossetti@chromium.org <mrossetti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-06 12:19:34 +0000
committermrossetti@chromium.org <mrossetti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-06 12:19:34 +0000
commit6d478b1e77dba59521c5eac87bad1e1f6055219d (patch)
tree23af5ab68284cec4057d5d86703c68dd1d116f67 /net/proxy
parent379820172ecd66a378c3bf51c58cbb218c8c6844 (diff)
downloadchromium_src-6d478b1e77dba59521c5eac87bad1e1f6055219d.zip
chromium_src-6d478b1e77dba59521c5eac87bad1e1f6055219d.tar.gz
chromium_src-6d478b1e77dba59521c5eac87bad1e1f6055219d.tar.bz2
Guard Against Bad Classifications
Added safety valve so that there will be no attempt to set an attribute on an string beyond its end. Also, be consistent in using NSInteger by carrying around |nextOffset| as one. Enhanced the diagnostic output for the AutocompleteMatch::ValidateClassifications function so that the underlying perpetrator of the problem can more easily be identified. NOTE: This is a partial fix in that the true underlying cause of the bad classification range has not yet been addressed. So this bug will be left open. BUG=121703 TEST=Visit http://www.hurriyet.com.tr/. Bring up a new tab. Type 's' into the omnibox. No crash means success. Review URL: https://chromiumcodereview.appspot.com/10537010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140747 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/proxy')
0 files changed, 0 insertions, 0 deletions