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

Issue 2528713002: Fix some FTP DCHECKs on 1xx responses. (Closed)

Created:
4 years ago by mmenke
Modified:
4 years ago
Reviewers:
eroman
CC:
chromium-reviews, cbentzel+watch_chromium.org, Paweł Hajdan Jr.
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix some FTP DCHECKs on 1xx responses. A bunch of FTP response handlers did not have explicit handling for these responses, so fell through to the non-FTP response DCHECK. This code makes those responses now result in ERR_INVALID_RESPONSE. BUG=667798 Committed: https://crrev.com/bc5e865358135a53401254798a54e0e8786a75ef Cr-Commit-Position: refs/heads/master@{#434294}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Remove defaul cases #

Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -90 lines) Patch
M net/ftp/ftp_network_transaction.cc View 1 13 chunks +4 lines, -33 lines 0 comments Download
M net/ftp/ftp_network_transaction_unittest.cc View 20 chunks +126 lines, -57 lines 0 comments Download

Messages

Total messages: 15 (9 generated)
mmenke
Exciting CLs like this are what make fuzzing worth all the effort!
4 years ago (2016-11-23 20:41:57 UTC) #6
eroman
lgtm https://codereview.chromium.org/2528713002/diff/1/net/ftp/ftp_network_transaction.cc File net/ftp/ftp_network_transaction.cc (right): https://codereview.chromium.org/2528713002/diff/1/net/ftp/ftp_network_transaction.cc#newcode768 net/ftp/ftp_network_transaction.cc:768: default: Can you remove the default case? https://codereview.chromium.org/2528713002/diff/1/net/ftp/ftp_network_transaction.cc#newcode800 ...
4 years ago (2016-11-23 20:46:41 UTC) #7
mmenke
https://codereview.chromium.org/2528713002/diff/1/net/ftp/ftp_network_transaction.cc File net/ftp/ftp_network_transaction.cc (right): https://codereview.chromium.org/2528713002/diff/1/net/ftp/ftp_network_transaction.cc#newcode768 net/ftp/ftp_network_transaction.cc:768: default: On 2016/11/23 20:46:41, eroman (slow) wrote: > Can ...
4 years ago (2016-11-23 20:52:34 UTC) #8
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/2528713002/20001
4 years ago (2016-11-23 20:53:17 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-11-24 00:15:53 UTC) #13
commit-bot: I haz the power
4 years ago (2016-11-24 00:17:19 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/bc5e865358135a53401254798a54e0e8786a75ef
Cr-Commit-Position: refs/heads/master@{#434294}

Powered by Google App Engine
This is Rietveld 408576698