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

Issue 1836573002: Add an HttpStreamParser fuzzer. (Closed)

Created:
4 years, 9 months ago by mmenke
Modified:
4 years, 8 months ago
Reviewers:
eroman
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

Add an HttpStreamParser fuzzer. BUG=598037 Committed: https://crrev.com/44e8e9c8b39cd6fb611da0f905846652b0752511 Cr-Commit-Position: refs/heads/master@{#383777}

Patch Set 1 #

Total comments: 12

Patch Set 2 : Response to comments #

Patch Set 3 : Add comment #

Total comments: 21

Patch Set 4 : Response to comments #

Patch Set 5 : Release buffer pointer earlier #

Total comments: 9

Patch Set 6 : Response to comments #

Patch Set 7 : Oops #

Unified diffs Side-by-side diffs Delta from patch set Stats (+164 lines, -0 lines) Patch
M net/BUILD.gn View 1 chunk +12 lines, -0 lines 0 comments Download
A net/http/http_stream_parser_fuzzer.cc View 1 2 3 4 5 6 1 chunk +152 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (9 generated)
mmenke
Eric: WDYT? I was considering targetting the HttpNetworkTransaction layer, since it's so closely tied to ...
4 years, 9 months ago (2016-03-25 20:06:36 UTC) #2
mmenke
On 2016/03/25 20:06:36, mmenke wrote: > Eric: WDYT? I was considering targetting the HttpNetworkTransaction layer, ...
4 years, 9 months ago (2016-03-25 20:13:30 UTC) #3
eroman
+cc mmoroz https://codereview.chromium.org/1836573002/diff/1/net/http/http_stream_parser_fuzzer.cc File net/http/http_stream_parser_fuzzer.cc (right): https://codereview.chromium.org/1836573002/diff/1/net/http/http_stream_parser_fuzzer.cc#newcode29 net/http/http_stream_parser_fuzzer.cc:29: extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t ...
4 years, 9 months ago (2016-03-25 20:43:18 UTC) #5
mmenke
https://codereview.chromium.org/1836573002/diff/1/net/http/http_stream_parser_fuzzer.cc File net/http/http_stream_parser_fuzzer.cc (right): https://codereview.chromium.org/1836573002/diff/1/net/http/http_stream_parser_fuzzer.cc#newcode29 net/http/http_stream_parser_fuzzer.cc:29: extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { ...
4 years, 9 months ago (2016-03-25 21:33:38 UTC) #6
eroman
BTW cool, thanks for writing this! https://codereview.chromium.org/1836573002/diff/30001/net/http/http_stream_parser_fuzzer.cc File net/http/http_stream_parser_fuzzer.cc (right): https://codereview.chromium.org/1836573002/diff/30001/net/http/http_stream_parser_fuzzer.cc#newcode34 net/http/http_stream_parser_fuzzer.cc:34: extern "C" int ...
4 years, 9 months ago (2016-03-26 01:39:29 UTC) #7
mmenke
https://codereview.chromium.org/1836573002/diff/30001/net/http/http_stream_parser_fuzzer.cc File net/http/http_stream_parser_fuzzer.cc (right): https://codereview.chromium.org/1836573002/diff/30001/net/http/http_stream_parser_fuzzer.cc#newcode34 net/http/http_stream_parser_fuzzer.cc:34: extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { ...
4 years, 8 months ago (2016-03-28 15:26:26 UTC) #8
mmenke
https://codereview.chromium.org/1836573002/diff/30001/net/http/http_stream_parser_fuzzer.cc File net/http/http_stream_parser_fuzzer.cc (right): https://codereview.chromium.org/1836573002/diff/30001/net/http/http_stream_parser_fuzzer.cc#newcode71 net/http/http_stream_parser_fuzzer.cc:71: if (size > 0) On 2016/03/28 15:26:26, mmenke wrote: ...
4 years, 8 months ago (2016-03-28 22:42:50 UTC) #9
eroman
LGTM! I'm excited about adding other similar tests that fuzz from socket-level inputs https://codereview.chromium.org/1836573002/diff/30001/net/http/http_stream_parser_fuzzer.cc File ...
4 years, 8 months ago (2016-03-28 22:54:57 UTC) #10
mmenke
On 2016/03/28 22:54:57, eroman wrote: > LGTM! > > I'm excited about adding other similar ...
4 years, 8 months ago (2016-03-28 23:48:09 UTC) #11
mmenke
Thanks for the review! Note that this doesn't check async writes, multiple writes, write failures, ...
4 years, 8 months ago (2016-03-29 16:38:37 UTC) #12
mmenke
https://codereview.chromium.org/1836573002/diff/70001/net/http/http_stream_parser_fuzzer.cc File net/http/http_stream_parser_fuzzer.cc (right): https://codereview.chromium.org/1836573002/diff/70001/net/http/http_stream_parser_fuzzer.cc#newcode42 net/http/http_stream_parser_fuzzer.cc:42: net::MockWrite writes[] = { On 2016/03/29 16:38:37, mmenke wrote: ...
4 years, 8 months ago (2016-03-29 16:40:53 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1836573002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1836573002/80001
4 years, 8 months ago (2016-03-29 16:41:23 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_clobber_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_clobber_rel_ng/builds/150144)
4 years, 8 months ago (2016-03-29 17:06:21 UTC) #18
mmoroz
Nice one, thanks for implementing this! Do you have any seed corpus which would be ...
4 years, 8 months ago (2016-03-29 17:23:08 UTC) #19
mmenke
On 2016/03/29 17:23:08, mmoroz wrote: > Nice one, thanks for implementing this! Do you have ...
4 years, 8 months ago (2016-03-29 17:53:34 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1836573002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1836573002/100001
4 years, 8 months ago (2016-03-29 17:54:21 UTC) #23
commit-bot: I haz the power
Committed patchset #7 (id:100001)
4 years, 8 months ago (2016-03-29 18:39:07 UTC) #25
commit-bot: I haz the power
4 years, 8 months ago (2016-03-29 18:40:21 UTC) #27
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/44e8e9c8b39cd6fb611da0f905846652b0752511
Cr-Commit-Position: refs/heads/master@{#383777}

Powered by Google App Engine
This is Rietveld 408576698