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

Issue 1656673002: QUIC - Fix for crash in stable channel. Check for null |visitor_| before (Closed)

Created:
4 years, 10 months ago by ramant (doing other things)
Modified:
4 years, 10 months ago
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

QUIC - Fix for crash in stable channel. Check for null |visitor_| before accessing it. BUG=546668 R=rch@chromium.org, asvitkine@chromium.org Committed: https://crrev.com/3a731f0d7d50c4ec479f71ca3076a09576b44def Cr-Commit-Position: refs/heads/master@{#372752}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Added histogram #

Total comments: 2

Patch Set 3 : Updated comment to delete histogram #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -1 line) Patch
M net/quic/quic_connection.cc View 1 2 2 chunks +9 lines, -1 line 2 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 2 chunks +13 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 25 (10 generated)
ramant (doing other things)
4 years, 10 months ago (2016-01-31 21:07:27 UTC) #1
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1656673002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1656673002/1
4 years, 10 months ago (2016-01-31 21:07:50 UTC) #3
ramant (doing other things)
Hi Ryan, Would like to request to merge this check for nullptr to M48. Will ...
4 years, 10 months ago (2016-01-31 22:01:42 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-01-31 22:34:58 UTC) #6
Ryan Hamilton
lgtm https://codereview.chromium.org/1656673002/diff/1/net/quic/quic_connection.cc File net/quic/quic_connection.cc (right): https://codereview.chromium.org/1656673002/diff/1/net/quic/quic_connection.cc#newcode2080 net/quic/quic_connection.cc:2080: } Would it be worth adding an: } ...
4 years, 10 months ago (2016-02-01 03:39:31 UTC) #7
ramant (doing other things)
Thanks Ryan for the suggestion. Added a histogram to track it. https://codereview.chromium.org/1656673002/diff/1/net/quic/quic_connection.cc File net/quic/quic_connection.cc (right): ...
4 years, 10 months ago (2016-02-01 17:50:28 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1656673002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1656673002/20001
4 years, 10 months ago (2016-02-01 17:54:20 UTC) #12
Alexei Svitkine (slow)
lgtm (normally I'd suggest for a boolean histogram to have both true and false logged, ...
4 years, 10 months ago (2016-02-01 19:03:14 UTC) #13
ramant (doing other things)
Updated the comment to delete histogram also. Will revert this CL after it is merged ...
4 years, 10 months ago (2016-02-01 19:12:18 UTC) #14
ramant (doing other things)
On 2016/02/01 19:03:14, Alexei Svitkine (very slow) wrote: > lgtm > > (normally I'd suggest ...
4 years, 10 months ago (2016-02-01 19:13:31 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1656673002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1656673002/40001
4 years, 10 months ago (2016-02-01 19:13:41 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-02-01 20:46:30 UTC) #20
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/3a731f0d7d50c4ec479f71ca3076a09576b44def Cr-Commit-Position: refs/heads/master@{#372752}
4 years, 10 months ago (2016-02-01 20:48:25 UTC) #22
Alexander Potapenko
https://codereview.chromium.org/1656673002/diff/40001/net/quic/quic_connection.cc File net/quic/quic_connection.cc (right): https://codereview.chromium.org/1656673002/diff/40001/net/quic/quic_connection.cc#newcode2080 net/quic/quic_connection.cc:2080: if (visitor_) { Drive-by nit: this check is inconsistent ...
4 years, 10 months ago (2016-02-07 08:40:18 UTC) #24
ramant (doing other things)
4 years, 10 months ago (2016-02-09 00:10:34 UTC) #25
Message was sent while issue was closed.
https://codereview.chromium.org/1656673002/diff/40001/net/quic/quic_connectio...
File net/quic/quic_connection.cc (right):

https://codereview.chromium.org/1656673002/diff/40001/net/quic/quic_connectio...
net/quic/quic_connection.cc:2080: if (visitor_) {
On 2016/02/07 08:40:18, Alexander Potapenko wrote:
> Drive-by nit: this check is inconsistent with other nullptr checks in the
file.

Done. Uploaded the following CL. Thanks.
 
https://codereview.chromium.org/1679113002/

Powered by Google App Engine
This is Rietveld 408576698