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

Issue 26890002: Fix uninitialized memory read in BitmapCopy test with A1 config (Closed)

Created:
7 years, 2 months ago by robertphillips
Modified:
7 years, 2 months ago
Reviewers:
reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Fix uninitialized memory read in BitmapCopy test with A1 config

Patch Set 1 #

Total comments: 2

Patch Set 2 : Switched to use getSafeSize #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M tests/BitmapCopyTest.cpp View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
robertphillips
7 years, 2 months ago (2013-10-10 17:50:54 UTC) #1
reed1
lgtm https://codereview.chromium.org/26890002/diff/1/tests/BitmapCopyTest.cpp File tests/BitmapCopyTest.cpp (right): https://codereview.chromium.org/26890002/diff/1/tests/BitmapCopyTest.cpp#newcode63 tests/BitmapCopyTest.cpp:63: memset(bitmap.getPixels(), 0xff, bitmap.getSize()); getSafeSize()?
7 years, 2 months ago (2013-10-10 17:53:47 UTC) #2
robertphillips
7 years, 2 months ago (2013-10-10 22:01:37 UTC) #3
Message was sent while issue was closed.
committed as r11722

https://codereview.chromium.org/26890002/diff/1/tests/BitmapCopyTest.cpp
File tests/BitmapCopyTest.cpp (right):

https://codereview.chromium.org/26890002/diff/1/tests/BitmapCopyTest.cpp#newc...
tests/BitmapCopyTest.cpp:63: memset(bitmap.getPixels(), 0xff, bitmap.getSize());
On 2013/10/10 17:53:47, reed1 wrote:
> getSafeSize()?

Done.

Powered by Google App Engine
This is Rietveld 408576698