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

Issue 2453013004: Fix use-after-scope bug in IntrusiveHeapTest.HeapIndex. (Closed)

Created:
4 years, 1 month ago by krasin1
Modified:
4 years, 1 month ago
CC:
chromium-reviews, blink-reviews, scheduler-bugs_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix use-after-scope bug in IntrusiveHeapTest.HeapIndex. The heap object contains references to the handles, and its destructor must run before they go out of scope. This is caught with -fsanitize=address -fsanitize-address-use-after-scope. See https://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/251354/steps/blink_platform_unittests%20%28with%20patch%29%20on%20Ubuntu-12.04/logs/stdio BUG=649897 Committed: https://crrev.com/7e7cb2767b4aa6811b8c202d8cce97ab020c4174 Cr-Commit-Position: refs/heads/master@{#428152}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M third_party/WebKit/Source/platform/scheduler/base/intrusive_heap_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 19 (12 generated)
krasin1
4 years, 1 month ago (2016-10-27 06:38:58 UTC) #5
rmcilroy
Looks fine to me but I don't know this code - adding Alex to approve.
4 years, 1 month ago (2016-10-27 21:40:26 UTC) #11
alex clarke (OOO till 29th)
lgtm
4 years, 1 month ago (2016-10-27 21:58:15 UTC) #13
krasin1
On 2016/10/27 21:58:15, alex clarke wrote: > lgtm Thank you, Ross and Alex!
4 years, 1 month ago (2016-10-27 21:59:19 UTC) #14
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/2453013004/1
4 years, 1 month ago (2016-10-27 21:59:27 UTC) #15
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-10-27 22:07:19 UTC) #17
commit-bot: I haz the power
4 years, 1 month ago (2016-10-27 22:11:11 UTC) #19
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/7e7cb2767b4aa6811b8c202d8cce97ab020c4174
Cr-Commit-Position: refs/heads/master@{#428152}

Powered by Google App Engine
This is Rietveld 408576698