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

Issue 2428103002: Escape non-ASCII Request header values before attaching them as a NetLog string. (Closed)

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

Description

Escape non-ASCII Request header values before attaching them as a NetLog string. This is a quick fix for a libfuzzer crash. BUG=633069 Committed: https://crrev.com/396ba79a4314fd0be39f78e1e2ca467951a37cf4 Cr-Commit-Position: refs/heads/master@{#426038}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Address Matt's feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -5 lines) Patch
M net/http/http_request_headers.cc View 1 2 chunks +8 lines, -5 lines 0 comments Download

Messages

Total messages: 14 (7 generated)
eroman
4 years, 2 months ago (2016-10-18 19:06:52 UTC) #2
mmenke
LGTM, regardless of what you think of my comment. https://codereview.chromium.org/2428103002/diff/1/net/http/http_request_headers.cc File net/http/http_request_headers.cc (right): https://codereview.chromium.org/2428103002/diff/1/net/http/http_request_headers.cc#newcode198 net/http/http_request_headers.cc:198: ...
4 years, 2 months ago (2016-10-18 19:12:33 UTC) #3
eroman
https://codereview.chromium.org/2428103002/diff/1/net/http/http_request_headers.cc File net/http/http_request_headers.cc (right): https://codereview.chromium.org/2428103002/diff/1/net/http/http_request_headers.cc#newcode198 net/http/http_request_headers.cc:198: std::string escaped_value = EscapeNonASCII(log_value); On 2016/10/18 19:12:33, mmenke wrote: ...
4 years, 2 months ago (2016-10-18 19:21:52 UTC) #6
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/2428103002/20001
4 years, 2 months ago (2016-10-18 20:06:55 UTC) #10
mmenke
https://codereview.chromium.org/2428103002/diff/1/net/http/http_request_headers.cc File net/http/http_request_headers.cc (right): https://codereview.chromium.org/2428103002/diff/1/net/http/http_request_headers.cc#newcode198 net/http/http_request_headers.cc:198: std::string escaped_value = EscapeNonASCII(log_value); On 2016/10/18 19:21:52, eroman wrote: ...
4 years, 2 months ago (2016-10-18 20:11:19 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-18 20:46:08 UTC) #12
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 13:02:50 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/396ba79a4314fd0be39f78e1e2ca467951a37cf4
Cr-Commit-Position: refs/heads/master@{#426038}

Powered by Google App Engine
This is Rietveld 408576698