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

Issue 2381633002: Fix uninit read in PlatformNotificationServiceTest (Closed)

Created:
4 years, 2 months ago by Lei Zhang
Modified:
4 years, 2 months ago
Reviewers:
awdf, dewittj
CC:
chromium-reviews, Peter Beverloo, mlamouri+watch-notifications_chromium.org, awdf+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix uninit read in PlatformNotificationServiceTest. Do some cleanup as well. BUG=651165 Committed: https://crrev.com/b4a1e893bd1444ebb84ac4944a23a01bb379dd64 Cr-Commit-Position: refs/heads/master@{#421625}

Patch Set 1 #

Patch Set 2 : Fix uninit value, more cleanup. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -22 lines) Patch
M chrome/browser/notifications/platform_notification_service_impl.cc View 6 chunks +10 lines, -16 lines 0 comments Download
M chrome/browser/notifications/platform_notification_service_unittest.cc View 1 3 chunks +12 lines, -6 lines 2 comments Download

Messages

Total messages: 20 (9 generated)
Lei Zhang
4 years, 2 months ago (2016-09-28 19:22:03 UTC) #4
dewittj
lgtm, thanks for cleaning up!
4 years, 2 months ago (2016-09-28 19:33:34 UTC) #5
dewittj
though the uninit read is actually in the test, right? So perhaps change the subject ...
4 years, 2 months ago (2016-09-28 19:34:28 UTC) #6
Lei Zhang
On 2016/09/28 19:34:28, dewittj wrote: > though the uninit read is actually in the test, ...
4 years, 2 months ago (2016-09-28 20:19:04 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2381633002/20001
4 years, 2 months ago (2016-09-28 20:19:30 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-09-28 20:25:00 UTC) #14
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/b4a1e893bd1444ebb84ac4944a23a01bb379dd64 Cr-Commit-Position: refs/heads/master@{#421625}
4 years, 2 months ago (2016-09-28 20:26:48 UTC) #16
awdf
https://codereview.chromium.org/2381633002/diff/20001/chrome/browser/notifications/platform_notification_service_unittest.cc File chrome/browser/notifications/platform_notification_service_unittest.cc (right): https://codereview.chromium.org/2381633002/diff/20001/chrome/browser/notifications/platform_notification_service_unittest.cc#newcode259 chrome/browser/notifications/platform_notification_service_unittest.cc:259: notification_data.actions[0].type = Am I correct in surmising that it ...
4 years, 2 months ago (2016-09-29 10:47:57 UTC) #17
awdf
https://codereview.chromium.org/2381633002/diff/20001/chrome/browser/notifications/platform_notification_service_unittest.cc File chrome/browser/notifications/platform_notification_service_unittest.cc (right): https://codereview.chromium.org/2381633002/diff/20001/chrome/browser/notifications/platform_notification_service_unittest.cc#newcode259 chrome/browser/notifications/platform_notification_service_unittest.cc:259: notification_data.actions[0].type = On 2016/09/29 10:47:57, awdf wrote: > Am ...
4 years, 2 months ago (2016-09-29 13:06:34 UTC) #18
Lei Zhang
On 2016/09/29 10:47:57, awdf wrote: > Out of interest, would the only way to have ...
4 years, 2 months ago (2016-09-29 15:31:21 UTC) #19
awdf
4 years, 2 months ago (2016-09-30 10:44:49 UTC) #20
Message was sent while issue was closed.
On 2016/09/29 15:31:21, Lei Zhang wrote:
> On 2016/09/29 10:47:57, awdf wrote:
> > Out of interest, would the only way to have seen that warning been to run
that
> > particular test locally? It's not visible on trybot results is it? (They
were
> > all green ... except for android_n5x_swarming_rel  - what's that about?)
> 
> There's no trybots that run MSAN by default. (yet) On the memory.full
waterfall,
> there are MSAN bots and they found this. I was sheriff yesterday. See the bug
> for details.

Thanks, it all makes sense now :)

Powered by Google App Engine
This is Rietveld 408576698