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

Issue 2072473002: Update the current RTP parser fuzzer to handle header extensions. (Closed)

Created:
4 years, 6 months ago by katrielc1
Modified:
4 years, 5 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Update the current RTP parser fuzzer to handle header extensions. This changes the corpus semantics, but libfuzzer should be smart enough to figure it out, and if not then we can add a seed_corpus to help. BUG=webrtc:4771 NOTRY=true

Patch Set 1 #

Patch Set 2 : Use enum value for # extensions #

Total comments: 17

Patch Set 3 : Code review changes #

Total comments: 3

Patch Set 4 : Fix nits #

Total comments: 1

Patch Set 5 : sort includes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -13 lines) Patch
M webrtc/test/fuzzers/rtp_header_fuzzer.cc View 1 2 3 4 1 chunk +16 lines, -10 lines 0 comments Download
M webrtc/test/fuzzers/rtp_packet_fuzzer.cc View 1 2 3 4 2 chunks +64 lines, -3 lines 0 comments Download

Messages

Total messages: 33 (18 generated)
katrielc
The fuzzer is not finding much new at the moment (https://cluster-fuzz.appspot.com/fuzzerstats?fuzzer_name=libfuzzer_rtp_packet_fuzzer&job_type=all&last_n=&last_n_type=days&group_by=last_n), so I think it ...
4 years, 6 months ago (2016-06-23 11:38:34 UTC) #4
pbos-webrtc
+danilchap to verify that this is used properly https://codereview.webrtc.org/2072473002/diff/20001/webrtc/test/fuzzers/rtp_packet_fuzzer.cc File webrtc/test/fuzzers/rtp_packet_fuzzer.cc (right): https://codereview.webrtc.org/2072473002/diff/20001/webrtc/test/fuzzers/rtp_packet_fuzzer.cc#newcode28 webrtc/test/fuzzers/rtp_packet_fuzzer.cc:28: RtpPacketReceived::ExtensionManager ...
4 years, 5 months ago (2016-06-26 21:49:59 UTC) #6
danilchap
https://codereview.webrtc.org/2072473002/diff/20001/webrtc/test/fuzzers/rtp_packet_fuzzer.cc File webrtc/test/fuzzers/rtp_packet_fuzzer.cc (right): https://codereview.webrtc.org/2072473002/diff/20001/webrtc/test/fuzzers/rtp_packet_fuzzer.cc#newcode20 webrtc/test/fuzzers/rtp_packet_fuzzer.cc:20: // We decide which header extensions to register by ...
4 years, 5 months ago (2016-06-27 11:06:17 UTC) #7
katrielc
https://codereview.webrtc.org/2072473002/diff/20001/webrtc/test/fuzzers/rtp_packet_fuzzer.cc File webrtc/test/fuzzers/rtp_packet_fuzzer.cc (right): https://codereview.webrtc.org/2072473002/diff/20001/webrtc/test/fuzzers/rtp_packet_fuzzer.cc#newcode20 webrtc/test/fuzzers/rtp_packet_fuzzer.cc:20: // We decide which header extensions to register by ...
4 years, 5 months ago (2016-07-04 07:15:31 UTC) #9
danilchap
lgtm % nit https://codereview.webrtc.org/2072473002/diff/20001/webrtc/test/fuzzers/rtp_packet_fuzzer.cc File webrtc/test/fuzzers/rtp_packet_fuzzer.cc (right): https://codereview.webrtc.org/2072473002/diff/20001/webrtc/test/fuzzers/rtp_packet_fuzzer.cc#newcode20 webrtc/test/fuzzers/rtp_packet_fuzzer.cc:20: // We decide which header extensions ...
4 years, 5 months ago (2016-07-04 08:43:55 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2072473002/60001
4 years, 5 months ago (2016-07-04 09:29:48 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/6666)
4 years, 5 months ago (2016-07-04 09:35:58 UTC) #18
katrielc
Sending out to pbos@ as sole OWNER :) https://codereview.webrtc.org/2072473002/diff/40001/webrtc/test/fuzzers/rtp_header_fuzzer.cc File webrtc/test/fuzzers/rtp_header_fuzzer.cc (right): https://codereview.webrtc.org/2072473002/diff/40001/webrtc/test/fuzzers/rtp_header_fuzzer.cc#newcode21 webrtc/test/fuzzers/rtp_header_fuzzer.cc:21: static_assert(kRtpExtensionNumberOfExtensions ...
4 years, 5 months ago (2016-07-04 09:46:37 UTC) #20
danilchap
noticed one more nit. https://codereview.webrtc.org/2072473002/diff/60001/webrtc/test/fuzzers/rtp_packet_fuzzer.cc File webrtc/test/fuzzers/rtp_packet_fuzzer.cc (right): https://codereview.webrtc.org/2072473002/diff/60001/webrtc/test/fuzzers/rtp_packet_fuzzer.cc#newcode12 webrtc/test/fuzzers/rtp_packet_fuzzer.cc:12: #include "webrtc/modules/rtp_rtcp/source/rtp_header_extension.h" just noticed this ...
4 years, 5 months ago (2016-07-04 09:57:50 UTC) #22
katrielc
Adding phoglund@ since you've reviewed a couple of these fuzzers already :)
4 years, 5 months ago (2016-07-05 09:33:56 UTC) #24
phoglund
lgtm
4 years, 5 months ago (2016-07-05 14:16:56 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2072473002/80001
4 years, 5 months ago (2016-07-05 14:18:50 UTC) #28
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 5 months ago (2016-07-05 14:20:30 UTC) #30
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-05 14:20:35 UTC) #32
commit-bot: I haz the power
4 years, 5 months ago (2016-07-05 14:20:37 UTC) #33
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/36a321d2e32bd9d823329958a71d4eba8356522a
Cr-Commit-Position: refs/heads/master@{#13384}

Powered by Google App Engine
This is Rietveld 408576698