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

Issue 2471973003: Allow H264 bitstream parser to fail gracefully (Closed)

Created:
4 years, 1 month ago by kthelgason
Modified:
4 years, 1 month ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Allow H264 bitstream parser to fail gracefully This CL allows the H264 bitstream parser to abort and report an error on invalid input rather than crashing, and it fixes several crashes found when fuzzing. BUG=webrtc:6454 R=magjed@webrtc.org,pbos@webrtc.org Committed: https://crrev.com/f752bca4a5a9dcf6218e820f50623201a71cb0a7 Cr-Commit-Position: refs/heads/master@{#14929}

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : land fuzzer CL separately #

Total comments: 2

Patch Set 4 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -64 lines) Patch
M webrtc/common_video/h264/h264_bitstream_parser.h View 2 chunks +9 lines, -3 lines 0 comments Download
M webrtc/common_video/h264/h264_bitstream_parser.cc View 10 chunks +63 lines, -61 lines 0 comments Download
M webrtc/common_video/h264/h264_common.cc View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 34 (26 generated)
kthelgason
PTAL. pbos: This CL contains your fuzzer implementation as well.
4 years, 1 month ago (2016-11-03 14:04:43 UTC) #1
pbos-webrtc
lgtm, I removed the reference to the fuzzer in the CL desc https://codereview.webrtc.org/2471973003/diff/40001/webrtc/common_video/h264/h264_bitstream_parser.cc File webrtc/common_video/h264/h264_bitstream_parser.cc ...
4 years, 1 month ago (2016-11-03 16:25:26 UTC) #16
magjed_webrtc
lgtm https://codereview.webrtc.org/2471973003/diff/40001/webrtc/common_video/h264/h264_bitstream_parser.cc File webrtc/common_video/h264/h264_bitstream_parser.cc (right): https://codereview.webrtc.org/2471973003/diff/40001/webrtc/common_video/h264/h264_bitstream_parser.cc#newcode275 webrtc/common_video/h264/h264_bitstream_parser.cc:275: LOG(LS_INFO) << "Failed to parse bitstream. Error: " ...
4 years, 1 month ago (2016-11-03 21:27:48 UTC) #22
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/2471973003/40001
4 years, 1 month ago (2016-11-03 21:28:55 UTC) #24
commit-bot: I haz the power
CLs for remote refs other than refs/pending/heads/master must contain NOTRY=true and NOPRESUBMIT=true in order for ...
4 years, 1 month ago (2016-11-03 21:28:58 UTC) #26
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/2471973003/60001
4 years, 1 month ago (2016-11-03 21:41:15 UTC) #30
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-11-04 00:30:38 UTC) #32
commit-bot: I haz the power
4 years, 1 month ago (2016-11-04 00:30:47 UTC) #34
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/f752bca4a5a9dcf6218e820f50623201a71cb0a7
Cr-Commit-Position: refs/heads/master@{#14929}

Powered by Google App Engine
This is Rietveld 408576698