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

Issue 2277953002: Fixes use-after-free with Server Migration (Closed)

Created:
4 years, 3 months ago by Jana
Modified:
4 years, 3 months ago
Reviewers:
Ryan Hamilton
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@home
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

On server migration, the session pooling map (ip_aliases_) was not correctly updated by the QuicStreamFactory , leaving a zombie entry in the map, which subsequently led to a use-after-free. This CL corrects this behavior in the QuicStreamFactory. BUG=639916 Committed: https://crrev.com/94ddc3149cc5e46ccb0f60b6227ebd0847586260 Cr-Commit-Position: refs/heads/master@{#414617}

Patch Set 1 #

Patch Set 2 : Reproduced bug in test and fixed. #

Total comments: 2

Patch Set 3 : Removed DVLOG #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -12 lines) Patch
M net/quic/chromium/quic_stream_factory.h View 1 2 chunks +3 lines, -0 lines 0 comments Download
M net/quic/chromium/quic_stream_factory.cc View 1 2 2 chunks +5 lines, -1 line 0 comments Download
M net/quic/chromium/quic_stream_factory_test.cc View 1 4 chunks +56 lines, -11 lines 0 comments Download

Messages

Total messages: 16 (8 generated)
Jana
Reproduced in test and fix done, PTAL.
4 years, 3 months ago (2016-08-25 19:21:47 UTC) #3
Ryan Hamilton
lgtm, but what about the OnTimeout method we talked about earlier which also removed things ...
4 years, 3 months ago (2016-08-25 19:29:59 UTC) #4
Jana
I'm removing the Timeout code in a separate CL. Since that method is not invoked ...
4 years, 3 months ago (2016-08-25 21:41:26 UTC) #5
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/2277953002/40001
4 years, 3 months ago (2016-08-25 21:42:16 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/269162)
4 years, 3 months ago (2016-08-26 00:10:27 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/2277953002/40001
4 years, 3 months ago (2016-08-26 00:23:19 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-08-26 01:33:02 UTC) #14
commit-bot: I haz the power
4 years, 3 months ago (2016-08-26 01:34:35 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/94ddc3149cc5e46ccb0f60b6227ebd0847586260
Cr-Commit-Position: refs/heads/master@{#414617}

Powered by Google App Engine
This is Rietveld 408576698