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

Issue 1896533002: Check frame coded size in H264 parsers to avoid integer overflows (Closed)

Created:
4 years, 8 months ago by servolk
Modified:
4 years, 8 months ago
Reviewers:
watk, Pawel Osciak
CC:
chromium-reviews, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Check frame coded size in H264 parsers to avoid integer overflows The bug crbug.com/541669 was originally found by fuzzing and reported for media/formats/mp2t/es_parser_h264.cc, but I've noticed that content/common/gpu/media/h264_decoder.cc potentially has the same issue. BUG=541669 Committed: https://crrev.com/eed4015f99aedcc6a989ffc43869c324bc5d3c1b Cr-Commit-Position: refs/heads/master@{#388808}

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -2 lines) Patch
M content/common/gpu/media/h264_decoder.cc View 1 chunk +7 lines, -0 lines 4 comments Download
M media/formats/mp2t/es_parser_h264.cc View 2 chunks +12 lines, -2 lines 0 comments Download

Messages

Total messages: 26 (9 generated)
servolk
4 years, 8 months ago (2016-04-15 18:38:37 UTC) #3
watk
Nice, lgtm
4 years, 8 months ago (2016-04-15 20:01:59 UTC) #4
servolk
On 2016/04/15 20:01:59, watk wrote: > Nice, lgtm Ping. posciak@ could you take a look ...
4 years, 8 months ago (2016-04-19 19:03:37 UTC) #5
Pawel Osciak
https://codereview.chromium.org/1896533002/diff/1/content/common/gpu/media/h264_decoder.cc File content/common/gpu/media/h264_decoder.cc (right): https://codereview.chromium.org/1896533002/diff/1/content/common/gpu/media/h264_decoder.cc#newcode1089 content/common/gpu/media/h264_decoder.cc:1089: if (width_mb > std::numeric_limits<int>::max() / 16 || Could we ...
4 years, 8 months ago (2016-04-20 04:22:09 UTC) #6
servolk
https://codereview.chromium.org/1896533002/diff/1/content/common/gpu/media/h264_decoder.cc File content/common/gpu/media/h264_decoder.cc (right): https://codereview.chromium.org/1896533002/diff/1/content/common/gpu/media/h264_decoder.cc#newcode1089 content/common/gpu/media/h264_decoder.cc:1089: if (width_mb > std::numeric_limits<int>::max() / 16 || On 2016/04/20 ...
4 years, 8 months ago (2016-04-20 17:32:53 UTC) #7
Pawel Osciak
https://codereview.chromium.org/1896533002/diff/1/content/common/gpu/media/h264_decoder.cc File content/common/gpu/media/h264_decoder.cc (right): https://codereview.chromium.org/1896533002/diff/1/content/common/gpu/media/h264_decoder.cc#newcode1089 content/common/gpu/media/h264_decoder.cc:1089: if (width_mb > std::numeric_limits<int>::max() / 16 || On 2016/04/20 ...
4 years, 8 months ago (2016-04-21 01:03:53 UTC) #8
servolk
https://codereview.chromium.org/1896533002/diff/1/content/common/gpu/media/h264_decoder.cc File content/common/gpu/media/h264_decoder.cc (right): https://codereview.chromium.org/1896533002/diff/1/content/common/gpu/media/h264_decoder.cc#newcode1089 content/common/gpu/media/h264_decoder.cc:1089: if (width_mb > std::numeric_limits<int>::max() / 16 || On 2016/04/21 ...
4 years, 8 months ago (2016-04-21 01:24:06 UTC) #9
Pawel Osciak
On 2016/04/21 01:24:06, servolk wrote: > https://codereview.chromium.org/1896533002/diff/1/content/common/gpu/media/h264_decoder.cc > File content/common/gpu/media/h264_decoder.cc (right): > > https://codereview.chromium.org/1896533002/diff/1/content/common/gpu/media/h264_decoder.cc#newcode1089 > ...
4 years, 8 months ago (2016-04-21 01:33:11 UTC) #10
Pawel Osciak
On 2016/04/21 01:33:11, Pawel Osciak wrote: > On 2016/04/21 01:24:06, servolk wrote: > > > ...
4 years, 8 months ago (2016-04-21 01:41:25 UTC) #11
servolk
On 2016/04/21 01:41:25, Pawel Osciak wrote: > On 2016/04/21 01:33:11, Pawel Osciak wrote: > > ...
4 years, 8 months ago (2016-04-21 01:56:11 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1896533002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1896533002/1
4 years, 8 months ago (2016-04-21 01:56:47 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/200315)
4 years, 8 months ago (2016-04-21 02:08:23 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1896533002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1896533002/1
4 years, 8 months ago (2016-04-21 02:29:57 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/200327)
4 years, 8 months ago (2016-04-21 02:41:01 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1896533002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1896533002/1
4 years, 8 months ago (2016-04-21 16:37:58 UTC) #22
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 8 months ago (2016-04-21 17:46:49 UTC) #24
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:35:57 UTC) #26
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/eed4015f99aedcc6a989ffc43869c324bc5d3c1b
Cr-Commit-Position: refs/heads/master@{#388808}

Powered by Google App Engine
This is Rietveld 408576698