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

Issue 2538773002: Fix yet another silly DCHECK in the FTP code. (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 yet another silly DCHECK in the FTP code. The code was allowing CRs or LFs in remote paths, but DCHECKing that commands including paths don't contain them. This CL makes the request fail if a remote path contains either character. BUG=669407 Committed: https://crrev.com/2d3fc642169b3997c1cb7d2169e0c9c6c98c21e8 Cr-Commit-Position: refs/heads/master@{#435045}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -7 lines) Patch
M net/ftp/ftp_network_transaction.cc View 7 chunks +12 lines, -7 lines 0 comments Download
M net/ftp/ftp_network_transaction_unittest.cc View 1 chunk +16 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 17 (11 generated)
mmenke
I have a feeling I'll be fixing pointless things like this for quite a while. ...
4 years ago (2016-11-29 16:15:48 UTC) #5
eroman
> I have a feeling I'll be fixing pointless things like this for quite a ...
4 years ago (2016-11-29 18:52:05 UTC) #8
eroman
lgtm
4 years ago (2016-11-29 18:52:14 UTC) #9
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/2538773002/1
4 years ago (2016-11-29 18:53:31 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-11-29 18:59:26 UTC) #15
commit-bot: I haz the power
4 years ago (2016-11-29 19:01:52 UTC) #17
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/2d3fc642169b3997c1cb7d2169e0c9c6c98c21e8
Cr-Commit-Position: refs/heads/master@{#435045}

Powered by Google App Engine
This is Rietveld 408576698