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

Issue 133123006: Validate vector lengths in ImageHostMsg_DidDownloadImage (Closed)

Created:
6 years, 11 months ago by ianbeer
Modified:
6 years, 11 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, miu+watch_chromium.org
Visibility:
Public.

Description

Validate vector lengths in ImageHostMsg_DidDownloadImage BUG=333038 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245618

Patch Set 1 #

Patch Set 2 : Kill the renderer on a bad message #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -0 lines) Patch
M content/browser/web_contents/web_contents_impl.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
ianbeer
6 years, 11 months ago (2014-01-10 16:57:38 UTC) #1
sky
Should this be a CHECK ?
6 years, 11 months ago (2014-01-10 18:14:31 UTC) #2
jln (very slow on Chromium)
On 2014/01/10 18:14:31, sky wrote: > Should this be a CHECK ? We should not ...
6 years, 11 months ago (2014-01-10 23:01:06 UTC) #3
sky
Good point. A vector of pairs should be possible. On Fri, Jan 10, 2014 at ...
6 years, 11 months ago (2014-01-10 23:25:43 UTC) #4
Tom Sepez
Generally, what you want to do here is call BadMessageReceived() to kill the renderer, since ...
6 years, 11 months ago (2014-01-13 18:55:48 UTC) #5
ianbeer
Updated to kill the renderer on a bad message. The proper fix, using a vector ...
6 years, 11 months ago (2014-01-17 15:57:37 UTC) #6
ianbeer
6 years, 11 months ago (2014-01-17 15:58:19 UTC) #7
sky
LGTM
6 years, 11 months ago (2014-01-17 16:34:13 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ianbeer@chromium.org/133123006/130001
6 years, 11 months ago (2014-01-17 16:48:42 UTC) #9
commit-bot: I haz the power
Change committed as 245618
6 years, 11 months ago (2014-01-17 21:10:19 UTC) #10
ianbeer
6 years, 11 months ago (2014-01-17 23:21:01 UTC) #11
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/131493009/ by ianbeer@chromium.org.

The reason for reverting is: Discussion required on whether to call
ReceivedBadMessage to kill the renderer or not.

Powered by Google App Engine
This is Rietveld 408576698