diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-17 23:04:14 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-17 23:04:14 +0000 |
commit | 4e8e0d15fcc521d60b489dd829084c0507ec57bc (patch) | |
tree | cafef37487c36be36bff8682400bd6f287a0aa09 /printing/print_job_constants.h | |
parent | 791cada9c052ef017ac5348f92e7f58c20ab8cec (diff) | |
download | chromium_src-4e8e0d15fcc521d60b489dd829084c0507ec57bc.zip chromium_src-4e8e0d15fcc521d60b489dd829084c0507ec57bc.tar.gz chromium_src-4e8e0d15fcc521d60b489dd829084c0507ec57bc.tar.bz2 |
Fix crash with blocked requests when incognito goes away.
Apparently it's possible to have empty BlockedRequestLists. When a profile (like the incognito profile) goes away, we iterate through the BlockedRequestLists making the assumption that the lists cannot be empty, and dereference the first element. Since this assumption is false, this causes a dereference of garbage. Therefore we fix this by checking for empty lists.
BUG=90200
TEST=See 90200 comment 7 for instructions on how to repro
Review URL: http://codereview.chromium.org/7627006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97232 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/print_job_constants.h')
0 files changed, 0 insertions, 0 deletions