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

Issue 2706433003: Vary the parameters to WebSocketDeflateStream in fuzzer (Closed)

Created:
3 years, 10 months ago by Adam Rice
Modified:
3 years, 9 months ago
Reviewers:
mmoroz, yhirano
CC:
chromium-reviews, cbentzel+watch_chromium.org, fuzzing_chromium.org, net-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Vary the parameters to WebSocketDeflateStream in fuzzer Previously, the fuzzer for WebSocketDeflateStream always initialised it with default parameters. Vary the initialisation parameters in order to increase coverage. BUG=693496 R=yhirano Review-Url: https://codereview.chromium.org/2706433003 Cr-Commit-Position: refs/heads/master@{#453580} Committed: https://chromium.googlesource.com/chromium/src/+/1c2d77f89b0296318db4239d657a191bf4c7cad2

Patch Set 1 #

Total comments: 9

Patch Set 2 : Early-exit in cases where there isn't enough random bytes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -13 lines) Patch
M net/websockets/websocket_deflate_stream_fuzzer.cc View 1 4 chunks +46 lines, -13 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
Adam Rice
3 years, 10 months ago (2017-02-17 11:50:39 UTC) #1
yhirano
lgtm https://codereview.chromium.org/2706433003/diff/1/net/websockets/websocket_deflate_stream_fuzzer.cc File net/websockets/websocket_deflate_stream_fuzzer.cc (right): https://codereview.chromium.org/2706433003/diff/1/net/websockets/websocket_deflate_stream_fuzzer.cc#newcode77 net/websockets/websocket_deflate_stream_fuzzer.cc:77: base::FuzzedDataProvider* fuzzed_data_provider_; [optional] I'd prefer having this as ...
3 years, 10 months ago (2017-02-24 12:15:05 UTC) #2
mmoroz
Left some suggestions, but LGTM and thanks for upgrading fuzz targets! https://codereview.chromium.org/2706433003/diff/1/net/websockets/websocket_deflate_stream_fuzzer.cc File net/websockets/websocket_deflate_stream_fuzzer.cc (right): ...
3 years, 10 months ago (2017-02-24 12:38:38 UTC) #4
Adam Rice
yhirano, could you double-check my calculation of MIN_BYTES_TO_CREATE_A_FRAME and MIN_USEFUL_SIZE if you have time? https://codereview.chromium.org/2706433003/diff/1/net/websockets/websocket_deflate_stream_fuzzer.cc ...
3 years, 9 months ago (2017-02-27 04:00:04 UTC) #5
mmoroz
Cool! LGTM
3 years, 9 months ago (2017-02-27 09:35:31 UTC) #6
yhirano
lgtm
3 years, 9 months ago (2017-02-28 11:35:02 UTC) #7
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/2706433003/20001
3 years, 9 months ago (2017-02-28 12:44:58 UTC) #9
commit-bot: I haz the power
3 years, 9 months ago (2017-02-28 12:59:04 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/1c2d77f89b0296318db4239d657a...

Powered by Google App Engine
This is Rietveld 408576698