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

Issue 1970073002: Revert of Fixes use-after-free bug in QUIC. (Closed)

Created:
4 years, 7 months ago by jbudorick
Modified:
4 years, 7 months ago
Reviewers:
Jana, Ryan Hamilton
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@2704
Target Ref:
refs/pending/branch-heads/2704
Project:
chromium
Visibility:
Public.

Description

Revert of Fixes use-after-free bug in QUIC. (patchset #1 id:1 of https://codereview.chromium.org/1975483003/ ) Reason for revert: breaks M51: https://bugs.chromium.org/p/chromium/issues/detail?id=611267 Original issue's description: > Fixes use-after-free bug in QUIC. > > QuicSession destructor ends up calling the QuicSpdyStream destructor, which in turn tries to access a QuicSession method via a non-owning pointer back to the session. This CL arranges for the non-owning pointer to be set to null before QuicSpdyStream destructor is called. > > Merge Internal CL: 120973813 > > Creates a MockQuicSession for use in ReliableQuicStreamTest, which currently incorrectly uses a MockQuicSpdySession. > > The test class being fixed in this CL uses a MockQuicSpdySession, which is a QuicSpdySession, with TestStreams, which are ReliableQuicStreams. Bad things can happen since QuicSpdySession seems to freely assume that its streams are QuicSpdyStreams. Bad things do happen, but they inexplicably seem to show up only in Chromium tests. > > Merge Internal CL: 120989117 > > BUG=605474 > NOTRY=true > NOPRESUBMIT=true > Review-Url: https://codereview.chromium.org/1932653002 > Cr-Commit-Position: refs/heads/master@{#390575} > (cherry picked from commit 4ee9d76953f16811186942971822cf12d48db7ae) TBR=rch@chromium.org,jri@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=605474

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -105 lines) Patch
M net/quic/quic_session_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/quic/quic_spdy_session.cc View 1 chunk +1 line, -10 lines 0 comments Download
M net/quic/quic_spdy_stream.h View 1 chunk +0 lines, -4 lines 0 comments Download
M net/quic/quic_spdy_stream.cc View 2 chunks +1 line, -8 lines 0 comments Download
M net/quic/reliable_quic_stream_test.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M net/quic/test_tools/quic_session_peer.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/quic/test_tools/quic_session_peer.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M net/quic/test_tools/quic_test_utils.h View 1 chunk +0 lines, -59 lines 0 comments Download
M net/quic/test_tools/quic_test_utils.cc View 1 chunk +0 lines, -20 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
jbudorick
Created Revert of Fixes use-after-free bug in QUIC.
4 years, 7 months ago (2016-05-12 01:31:41 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1970073002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1970073002/1
4 years, 7 months ago (2016-05-12 01:32:04 UTC) #2
commit-bot: I haz the power
4 years, 7 months ago (2016-05-12 01:36:59 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 (id:1)

Powered by Google App Engine
This is Rietveld 408576698