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

Issue 1808543003: Fix use-after-free on Linux at shutdown (Closed)

Created:
4 years, 9 months ago by allan.jensen
Modified:
4 years, 9 months ago
Reviewers:
pauljensen, derekjchow1
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix use-after-free on Linux at shutdown The address tracker has a file-description watcher that references a libevent event that is deleted when the message-loop is deleted. Fixed by deleting the address-tracker before the message-loop. BUG=595316 R=derekjchow@chromium.org Committed: https://crrev.com/143cc3e1332fe8ff4c9cac86fe07187c2cad3f75 Cr-Commit-Position: refs/heads/master@{#382271}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Now commented #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -8 lines) Patch
M net/base/network_change_notifier_linux.cc View 1 3 chunks +11 lines, -8 lines 0 comments Download

Messages

Total messages: 14 (3 generated)
allan.jensen
4 years, 9 months ago (2016-03-16 14:18:38 UTC) #1
derekjchow1
+pauljensen for OWNERS. This looks like a reasonable change but can you post the Valgrind ...
4 years, 9 months ago (2016-03-16 17:12:25 UTC) #3
pauljensen
looks good, but, Allan, I see you've signed the CLA, can you add yourself to ...
4 years, 9 months ago (2016-03-17 13:42:49 UTC) #4
allan.jensen
On 2016/03/17 at 13:42:49, pauljensen wrote: > looks good, but, Allan, I see you've signed ...
4 years, 9 months ago (2016-03-17 15:04:41 UTC) #5
allan.jensen
On 2016/03/17 at 15:04:41, allan.jensen wrote: > On 2016/03/17 at 13:42:49, pauljensen wrote: > > ...
4 years, 9 months ago (2016-03-18 08:48:22 UTC) #6
pauljensen
https://codereview.chromium.org/1808543003/diff/1/net/base/network_change_notifier_linux.cc File net/base/network_change_notifier_linux.cc (right): https://codereview.chromium.org/1808543003/diff/1/net/base/network_change_notifier_linux.cc#newcode72 net/base/network_change_notifier_linux.cc:72: address_tracker_.reset(); Can you add a comment like: // Delete ...
4 years, 9 months ago (2016-03-18 18:27:49 UTC) #7
allan.jensen
On 2016/03/18 at 18:27:49, pauljensen wrote: > https://codereview.chromium.org/1808543003/diff/1/net/base/network_change_notifier_linux.cc > File net/base/network_change_notifier_linux.cc (right): > > https://codereview.chromium.org/1808543003/diff/1/net/base/network_change_notifier_linux.cc#newcode72 ...
4 years, 9 months ago (2016-03-19 12:56:49 UTC) #8
pauljensen
lgtm
4 years, 9 months ago (2016-03-21 12:04:21 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1808543003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1808543003/20001
4 years, 9 months ago (2016-03-21 12:04:30 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-21 13:00:42 UTC) #12
commit-bot: I haz the power
4 years, 9 months ago (2016-03-21 13:02:11 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/143cc3e1332fe8ff4c9cac86fe07187c2cad3f75
Cr-Commit-Position: refs/heads/master@{#382271}

Powered by Google App Engine
This is Rietveld 408576698