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

Issue 2558623002: Fix use-after-scope issue in audio_renderer_impl. (Closed)

Created:
4 years ago by eugenis
Modified:
4 years ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix use-after-scope issue in audio_renderer_impl. This is crashing audio renderer tests with ToT clang, starting with r288563. ASan detects it with -fsanitize-address-use-after-scope, which is not enabled by default in Chromium yet. BUG=671663 TBR=chcunningham@chromium.org NOTRY=true Committed: https://crrev.com/3137420f8293e02079a27a8c8fd65dd105d1c459 Cr-Commit-Position: refs/heads/master@{#436800}

Patch Set 1 #

Patch Set 2 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M media/renderers/audio_renderer_impl.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (8 generated)
eugenis
4 years ago (2016-12-06 23:38:08 UTC) #4
DaleCurtis
Is this a real bug or are you just masking it with this change? I ...
4 years ago (2016-12-06 23:40:47 UTC) #6
DaleCurtis
err, just masking a clang issue.
4 years ago (2016-12-06 23:41:02 UTC) #7
eugenis
On 2016/12/06 23:40:47, DaleCurtis wrote: > Is this a real bug or are you just ...
4 years ago (2016-12-06 23:41:45 UTC) #8
DaleCurtis
lgtm OIC, OutputDeviceInfo is ephermal, so the const& references something gone.
4 years ago (2016-12-06 23:41:59 UTC) #9
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/2558623002/20001
4 years ago (2016-12-06 23:43:53 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-07 00:56:31 UTC) #14
commit-bot: I haz the power
4 years ago (2016-12-07 00:59:33 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/3137420f8293e02079a27a8c8fd65dd105d1c459
Cr-Commit-Position: refs/heads/master@{#436800}

Powered by Google App Engine
This is Rietveld 408576698