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

Issue 2062103002: Add a libfuzzer for RtpHeaderParser. (Closed)

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

Description

Add a libfuzzer for RtpHeaderParser. NOTRY=true Committed: https://crrev.com/d4bcdad26349ab9e03c065442ab7d5d13e166800 Cr-Commit-Position: refs/heads/master@{#13271}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Update per code review #

Total comments: 1

Patch Set 3 : update as per code review #

Total comments: 2

Patch Set 4 : don't use id 0 #

Patch Set 5 : Use an enum value to count number of extensions #

Total comments: 1

Patch Set 6 : Remove blank line #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -0 lines) Patch
M webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_sender.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/test/fuzzers/BUILD.gn View 1 2 3 4 5 1 chunk +9 lines, -0 lines 0 comments Download
A webrtc/test/fuzzers/rtp_header_fuzzer.cc View 1 2 3 4 1 chunk +43 lines, -0 lines 0 comments Download

Messages

Total messages: 43 (20 generated)
katrielc
Not sure if adding the enum length like this is considered acceptable?
4 years, 6 months ago (2016-06-15 07:07:08 UTC) #2
phoglund
Some minor comments. https://codereview.webrtc.org/2062103002/diff/1/webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h File webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h (right): https://codereview.webrtc.org/2062103002/diff/1/webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h#newcode63 webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h:63: const int kNumberOfRtpHeaderExtensions = 7; Maybe ...
4 years, 6 months ago (2016-06-15 08:20:26 UTC) #3
katrielc
https://codereview.webrtc.org/2062103002/diff/1/webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h File webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h (right): https://codereview.webrtc.org/2062103002/diff/1/webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h#newcode63 webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h:63: const int kNumberOfRtpHeaderExtensions = 7; The problem with adding ...
4 years, 6 months ago (2016-06-15 09:05:30 UTC) #4
danilchap
https://codereview.webrtc.org/2062103002/diff/20001/webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h File webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h (right): https://codereview.webrtc.org/2062103002/diff/20001/webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h#newcode63 webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h:63: const int kNumberOfRtpHeaderExtensions = 7; make it constexpr, and ...
4 years, 6 months ago (2016-06-15 09:18:14 UTC) #8
katrielc
On 2016/06/15 09:18:14, danilchap wrote: > make it constexpr, and it should be 6 (there ...
4 years, 6 months ago (2016-06-15 09:22:23 UTC) #9
katrielc1
4 years, 6 months ago (2016-06-15 09:33:32 UTC) #12
danilchap
On 2016/06/15 09:22:23, katrielc wrote: > On 2016/06/15 09:18:14, danilchap wrote: > If kRtpExtensionNone is ...
4 years, 6 months ago (2016-06-15 10:16:14 UTC) #13
danilchap
https://codereview.webrtc.org/2062103002/diff/40001/webrtc/test/fuzzers/rtp_header_fuzzer.cc File webrtc/test/fuzzers/rtp_header_fuzzer.cc (right): https://codereview.webrtc.org/2062103002/diff/40001/webrtc/test/fuzzers/rtp_header_fuzzer.cc#newcode35 webrtc/test/fuzzers/rtp_header_fuzzer.cc:35: extensions.Register(static_cast<RTPExtensionType>(i), i); valid ids for an extension is in ...
4 years, 6 months ago (2016-06-15 10:16:33 UTC) #14
hlundin-webrtc
This is unfortunately not my area. Check with the video guys (mflodman, sprang, etc). Either ...
4 years, 6 months ago (2016-06-15 12:53:23 UTC) #16
katrielc1
mflodman: is the change to rtp_header_defines OK? https://codereview.webrtc.org/2062103002/diff/40001/webrtc/test/fuzzers/rtp_header_fuzzer.cc File webrtc/test/fuzzers/rtp_header_fuzzer.cc (right): https://codereview.webrtc.org/2062103002/diff/40001/webrtc/test/fuzzers/rtp_header_fuzzer.cc#newcode35 webrtc/test/fuzzers/rtp_header_fuzzer.cc:35: extensions.Register(static_cast<RTPExtensionType>(i), i); ...
4 years, 6 months ago (2016-06-15 13:22:48 UTC) #19
katrielc
ping mflodman -- is the new constexpr in rtp_rtcp_defines.h OK? On 2016/06/15 13:22:48, katrielc1 wrote: ...
4 years, 6 months ago (2016-06-20 10:51:37 UTC) #20
mflodman
On 2016/06/20 10:51:37, katrielc wrote: > ping mflodman -- is the new constexpr in rtp_rtcp_defines.h ...
4 years, 6 months ago (2016-06-20 15:59:50 UTC) #21
katrielc
On 2016/06/20 15:59:50, mflodman wrote: > On 2016/06/20 10:51:37, katrielc wrote: > > ping mflodman ...
4 years, 6 months ago (2016-06-21 07:30:44 UTC) #23
phoglund
lgtm
4 years, 6 months ago (2016-06-21 08:01:00 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2062103002/80001
4 years, 6 months ago (2016-06-22 12:34:28 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/6453)
4 years, 6 months ago (2016-06-22 12:45:19 UTC) #28
katrielc1
ping mflodman (sorry to pester!)
4 years, 6 months ago (2016-06-23 09:08:53 UTC) #29
mflodman
Sorry for the slow review, LGTM for rtp_rtcp_defines.h with one nit comment. https://codereview.webrtc.org/2062103002/diff/80001/webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h File webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h ...
4 years, 6 months ago (2016-06-23 09:14:17 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2062103002/100001
4 years, 6 months ago (2016-06-23 09:18:57 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_dbg/builds/14411)
4 years, 6 months ago (2016-06-23 09:44:30 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2062103002/100001
4 years, 6 months ago (2016-06-23 10:49:04 UTC) #39
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 6 months ago (2016-06-23 10:50:46 UTC) #41
commit-bot: I haz the power
4 years, 6 months ago (2016-06-23 10:50:48 UTC) #43
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/d4bcdad26349ab9e03c065442ab7d5d13e166800
Cr-Commit-Position: refs/heads/master@{#13271}

Powered by Google App Engine
This is Rietveld 408576698