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

Issue 92064: Check the size of bitmaps coming over IPC.... (Closed)

Created:
11 years, 8 months ago by abarth-chromium
Modified:
9 years, 7 months ago
Reviewers:
cpu_(ooo_6.6-7.5)
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Check the size of bitmaps coming over IPC. R=cpu BUG=10869 TEST=IPCMessageTest.Bitmap Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=14398

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -3 lines) Patch
M chrome/common/ipc_message_unittest.cc View 2 chunks +45 lines, -0 lines 0 comments Download
M chrome/common/ipc_message_utils.cc View 2 chunks +6 lines, -3 lines 1 comment Download

Messages

Total messages: 2 (0 generated)
abarth-chromium
11 years, 8 months ago (2009-04-23 05:42:36 UTC) #1
cpu_(ooo_6.6-7.5)
11 years, 8 months ago (2009-04-23 16:58:23 UTC) #2
LGTM  w/ comment below.

http://codereview.chromium.org/92064/diff/1/2
File chrome/common/ipc_message_utils.cc (right):

http://codereview.chromium.org/92064/diff/1/2#newcode41
Line 41: bitmap->allocPixels();
can you check for the return value fo allocPixels()?

Powered by Google App Engine
This is Rietveld 408576698