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

Issue 2593873002: Fix use-after-free issue in VideoDecoderResourceTest. (Closed)

Created:
4 years ago by krasin1
Modified:
3 years, 9 months ago
Reviewers:
piman
CC:
chromium-reviews, posciak+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix use-after-free issue in VideoDecoderResourceTest. Local variables responsible for shared memory go out of scope right after their initialization and then accessed by the saved references to the stack space which is already potentially reused for other local variables. The bug was found by AddressSanitizer with use-after-free check enabled. It's currently being rolled out into Chrome, and this CL is a part of a larger cleanup of existing failures. BUG=649897 TBR=piman@chromium.org Committed: https://crrev.com/e9416e5d3947a57e2217a8aa63535f9cf9c4ca15 Cr-Commit-Position: refs/heads/master@{#439961}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -4 lines) Patch
M ppapi/proxy/video_decoder_resource_unittest.cc View 1 chunk +6 lines, -4 lines 0 comments Download

Messages

Total messages: 12 (7 generated)
krasin1
Hi Antoine, you seem to be the sole owner of ppapi/proxy. Feel free to review ...
4 years ago (2016-12-21 00:50:43 UTC) #2
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/2593873002/1
4 years ago (2016-12-21 00:51:31 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-21 01:12:11 UTC) #9
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/e9416e5d3947a57e2217a8aa63535f9cf9c4ca15 Cr-Commit-Position: refs/heads/master@{#439961}
4 years ago (2016-12-21 01:16:02 UTC) #11
piman
3 years, 9 months ago (2017-03-06 22:01:58 UTC) #12
Message was sent while issue was closed.
belated LGTM and thanks!

Powered by Google App Engine
This is Rietveld 408576698