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

Issue 2649983003: A simple fuzzer for HttpServer, with limited coverage of WebSocket. (Closed)

Created:
3 years, 11 months ago by Maks Orlovich
Modified:
3 years, 10 months ago
Reviewers:
morlovich, mmenke
CC:
chromium-reviews, cbentzel+watch_chromium.org, fuzzing_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

A simple fuzzer for HttpServer, with limited coverage of WebSocket. BUG=606428 Review-Url: https://codereview.chromium.org/2649983003 Cr-Commit-Position: refs/heads/master@{#446980} Committed: https://chromium.googlesource.com/chromium/src/+/5e6e19b1a3b499719ebd2243869adbb8e4271350

Patch Set 1 #

Total comments: 33

Patch Set 2 : Apply review feedback; tweak the dictionary some to try to get to websocket paths easier. #

Total comments: 11

Patch Set 3 : Style fixes, cover one more case. #

Patch Set 4 : Rebased, looked like doing it automatically failed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+311 lines, -0 lines) Patch
M net/BUILD.gn View 1 2 3 2 chunks +17 lines, -0 lines 0 comments Download
A net/data/fuzzer_data/http_server_requests/get.bin View 1 1 chunk +4 lines, -0 lines 0 comments Download
A net/data/fuzzer_data/http_server_requests/post.bin View 1 1 chunk +6 lines, -0 lines 0 comments Download
A net/data/fuzzer_data/http_server_requests/websocket.bin View 1 Binary file 0 comments Download
A net/data/fuzzer_dictionaries/net_http_server_fuzzer.dict View 1 1 chunk +51 lines, -0 lines 0 comments Download
A net/server/http_server_fuzzer.cc View 1 2 1 chunk +109 lines, -0 lines 0 comments Download
A net/socket/fuzzed_server_socket.h View 1 chunk +63 lines, -0 lines 0 comments Download
A net/socket/fuzzed_server_socket.cc View 1 chunk +61 lines, -0 lines 0 comments Download

Messages

Total messages: 53 (24 generated)
Maks Orlovich
So I think this is far along enough now to get some feedback. One thing ...
3 years, 11 months ago (2017-01-24 15:05:16 UTC) #6
mmenke
Looking good https://codereview.chromium.org/2649983003/diff/1/net/BUILD.gn File net/BUILD.gn (right): https://codereview.chromium.org/2649983003/diff/1/net/BUILD.gn#newcode2097 net/BUILD.gn:2097: libfuzzer_options = [ "max_len=256" ] Not needed ...
3 years, 11 months ago (2017-01-24 16:29:17 UTC) #7
Maks Orlovich
Working on most of the rest of the comments, flushing the stuff I had a ...
3 years, 11 months ago (2017-01-24 18:34:19 UTC) #8
mmenke
https://codereview.chromium.org/2649983003/diff/1/net/BUILD.gn File net/BUILD.gn (right): https://codereview.chromium.org/2649983003/diff/1/net/BUILD.gn#newcode2097 net/BUILD.gn:2097: libfuzzer_options = [ "max_len=256" ] On 2017/01/24 18:34:18, morlovich1 ...
3 years, 11 months ago (2017-01-24 19:03:42 UTC) #9
mmenke
Two more comments. https://codereview.chromium.org/2649983003/diff/1/net/server/http_server_fuzzer.cc File net/server/http_server_fuzzer.cc (right): https://codereview.chromium.org/2649983003/diff/1/net/server/http_server_fuzzer.cc#newcode26 net/server/http_server_fuzzer.cc:26: const net::HttpServerRequestInfo& info) override {} On ...
3 years, 11 months ago (2017-01-24 19:43:58 UTC) #10
Maks Orlovich
The boring stuff (w/o the underlying CL, since I am still debugging some things) https://codereview.chromium.org/2649983003/diff/1/net/BUILD.gn ...
3 years, 11 months ago (2017-01-25 14:54:37 UTC) #11
Maks Orlovich
> On 2017/01/24 16:29:16, mmenke wrote: > > Should we randomly write data or close ...
3 years, 11 months ago (2017-01-25 15:00:07 UTC) #12
mmenke
On 2017/01/25 15:00:07, morlovich1 wrote: > > On 2017/01/24 16:29:16, mmenke wrote: > > > ...
3 years, 11 months ago (2017-01-25 16:19:12 UTC) #13
mmenke
On 2017/01/25 15:00:07, morlovich1 wrote: > > On 2017/01/24 16:29:16, mmenke wrote: > > > ...
3 years, 11 months ago (2017-01-25 16:27:23 UTC) #14
Maks Orlovich
> Ah, you're right. HttpServer keeps on reading requests and sending them to the > ...
3 years, 11 months ago (2017-01-25 20:57:39 UTC) #17
Maks Orlovich
> If you add "\\ " to the dictionary, they might help. It's used by ...
3 years, 11 months ago (2017-01-25 21:01:02 UTC) #18
mmenke
On 2017/01/25 20:57:39, morlovich1 wrote: > > Ah, you're right. HttpServer keeps on reading requests ...
3 years, 11 months ago (2017-01-26 13:21:37 UTC) #21
mmenke
On 2017/01/26 13:21:37, mmenke wrote: > On 2017/01/25 20:57:39, morlovich1 wrote: > > > Ah, ...
3 years, 11 months ago (2017-01-26 13:23:01 UTC) #22
morlovich
> > Anything that streams the response with multiple async writes would get the > ...
3 years, 11 months ago (2017-01-26 14:22:06 UTC) #23
mmenke
On 2017/01/26 14:22:06, morlovich wrote: > > > Anything that streams the response with multiple ...
3 years, 11 months ago (2017-01-26 20:23:36 UTC) #24
mmenke
Is this ready for another pass? I had thought not, but now I'm less sure.
3 years, 11 months ago (2017-01-26 21:16:58 UTC) #25
morlovich
On 2017/01/26 21:16:58, mmenke wrote: > Is this ready for another pass? I had thought ...
3 years, 11 months ago (2017-01-26 21:23:46 UTC) #26
mmenke
On 2017/01/26 21:23:46, morlovich wrote: > On 2017/01/26 21:16:58, mmenke wrote: > > Is this ...
3 years, 11 months ago (2017-01-26 21:24:52 UTC) #27
mmenke
This looks pretty good to me. Other than my comments below, just wonder about calling ...
3 years, 10 months ago (2017-01-27 17:08:53 UTC) #28
morlovich
Ack on the {} comments, keeping them around as reminders. (And thank you for stating ...
3 years, 10 months ago (2017-01-27 17:30:29 UTC) #30
mmenke
I think this is worth landing (With the braces, and a close path in the ...
3 years, 10 months ago (2017-01-27 17:34:59 UTC) #31
mmenke
https://codereview.chromium.org/2649983003/diff/20001/net/server/http_server_fuzzer.cc File net/server/http_server_fuzzer.cc (right): https://codereview.chromium.org/2649983003/diff/20001/net/server/http_server_fuzzer.cc#newcode51 net/server/http_server_fuzzer.cc:51: server_->AcceptWebSocket(connection_id, info); On 2017/01/27 17:34:59, mmenke (Out Feb 4 ...
3 years, 10 months ago (2017-01-27 17:40:14 UTC) #32
Maks Orlovich
On 2017/01/27 17:34:59, mmenke (Out Feb 4 to March 5) wrote: > I think this ...
3 years, 10 months ago (2017-01-27 18:04:57 UTC) #35
Maks Orlovich
https://codereview.chromium.org/2649983003/diff/20001/net/server/http_server_fuzzer.cc File net/server/http_server_fuzzer.cc (right): https://codereview.chromium.org/2649983003/diff/20001/net/server/http_server_fuzzer.cc#newcode43 net/server/http_server_fuzzer.cc:43: "text/html"); On 2017/01/27 17:08:53, mmenke (Out Feb 4 to ...
3 years, 10 months ago (2017-01-27 18:17:15 UTC) #36
mmenke
LGTM!
3 years, 10 months ago (2017-01-27 18:19:18 UTC) #37
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/2649983003/40001
3 years, 10 months ago (2017-01-27 18:54:49 UTC) #41
commit-bot: I haz the power
Failed to apply patch for net/BUILD.gn: While running git apply --index -p1; error: patch failed: ...
3 years, 10 months ago (2017-01-27 19:34:18 UTC) #43
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/2649983003/60001
3 years, 10 months ago (2017-01-30 14:34:26 UTC) #50
commit-bot: I haz the power
3 years, 10 months ago (2017-01-30 14:38:53 UTC) #53
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/5e6e19b1a3b499719ebd2243869a...

Powered by Google App Engine
This is Rietveld 408576698