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

Issue 2825059: Fix an unitialized read in a unit test to appease valgrind (Closed)

Created:
10 years, 5 months ago by Nico
Modified:
9 years, 7 months ago
CC:
chromium-reviews, Timur Iskhodzhanov, stuartmorgan, pam+watch_chromium.org, Alexander Potapenko, fbarchard, Alpha Left Google, awong, Paweł Hajdan Jr., darin-cc_chromium.org, scherkus (not reviewing)
Visibility:
Public.

Description

Fix an unitialized read in a unit test to appease valgrind See http://codereview.chromium.org/2908003 for some backstory. BUG=none TEST=Webkit Mac memory bot goes green. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=52988

Patch Set 1 #

Patch Set 2 : fix problem instead of suppressing it #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -25 lines) Patch
M tools/valgrind/memcheck/suppressions.txt View 1 1 chunk +0 lines, -20 lines 0 comments Download
M webkit/glue/media/buffered_data_source.h View 1 chunk +0 lines, -4 lines 0 comments Download
M webkit/glue/media/buffered_data_source_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
Nico
10 years, 5 months ago (2010-07-20 00:42:27 UTC) #1
Paweł Hajdan Jr.
OK A more detailed commit message would be a plus.
10 years, 5 months ago (2010-07-20 00:46:08 UTC) #2
Nico
This isn't actually a valgrind bug (this would've surprised me for something this basic). I ...
10 years, 5 months ago (2010-07-20 01:08:04 UTC) #3
Nico
Changed this to fix the problem instead. ptal.
10 years, 5 months ago (2010-07-20 01:19:08 UTC) #4
Paweł Hajdan Jr.
LGTM.
10 years, 5 months ago (2010-07-20 01:22:10 UTC) #5
Victoria
10 years, 5 months ago (2010-07-20 18:07:23 UTC) #6
LGTM

Thanks for catching this!

On 2010/07/20 01:22:10, Paweł Hajdan Jr. wrote:
> LGTM.

Powered by Google App Engine
This is Rietveld 408576698