Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(263)

Issue 6579004: Don't access WebPluginInfo array out of bounds in PluginGroup::RemovePlugin. (Closed)

Created:
9 years, 10 months ago by Bernhard Bauer
Modified:
9 years, 7 months ago
Reviewers:
jam
CC:
chromium-reviews, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Don't access WebPluginInfo array out of bounds in PluginGroup::RemovePlugin. BUG=73893 TEST=PluginGroupTest.MultipleVersions Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=75858

Patch Set 1 #

Total comments: 1

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -2 lines) Patch
M webkit/plugins/npapi/plugin_group.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
M webkit/plugins/npapi/plugin_group_unittest.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Bernhard Bauer
please review.
9 years, 10 months ago (2011-02-23 19:46:44 UTC) #1
jam
http://codereview.chromium.org/6579004/diff/1/webkit/plugins/npapi/plugin_group.cc File webkit/plugins/npapi/plugin_group.cc (right): http://codereview.chromium.org/6579004/diff/1/webkit/plugins/npapi/plugin_group.cc#newcode251 webkit/plugins/npapi/plugin_group.cc:251: web_plugin_infos_.erase(web_plugin_infos_.begin() + i--); nit: usually i've seen this be ...
9 years, 10 months ago (2011-02-23 19:49:59 UTC) #2
Bernhard Bauer
On 2011/02/23 19:49:59, John Abd-El-Malek wrote: > http://codereview.chromium.org/6579004/diff/1/webkit/plugins/npapi/plugin_group.cc > File webkit/plugins/npapi/plugin_group.cc (right): > > http://codereview.chromium.org/6579004/diff/1/webkit/plugins/npapi/plugin_group.cc#newcode251 ...
9 years, 10 months ago (2011-02-23 20:03:34 UTC) #3
jam
9 years, 10 months ago (2011-02-23 20:04:49 UTC) #4
lgtm

Powered by Google App Engine
This is Rietveld 408576698