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

Issue 1189073004: Properly verify that input data is just 'pssh' boxes (Closed)

Created:
5 years, 6 months ago by jrummell
Modified:
5 years, 5 months ago
CC:
chromium-reviews, eme-reviews_chromium.org, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Properly verify that input data is just 'pssh' boxes ReadAllChildren() doesn't check the box type, so add a check into ProtectionSystemSpecificHeader::Parse() that does. BUG=501612 TEST=new test passes Committed: https://crrev.com/a9db3fe426268a67d808fe964d4fc9f28271fd17 Cr-Commit-Position: refs/heads/master@{#338171}

Patch Set 1 #

Total comments: 4

Patch Set 2 : changes #

Patch Set 3 : rebase add ReadAllChildrenAndCheckFourCC #

Total comments: 10

Patch Set 4 : expand comments #

Patch Set 5 : Android compile issues #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -12 lines) Patch
M media/cdm/cenc_utils.cc View 1 2 2 chunks +9 lines, -8 lines 0 comments Download
M media/cdm/cenc_utils_unittest.cc View 1 2 1 chunk +27 lines, -0 lines 0 comments Download
M media/formats/mp4/box_reader.h View 1 2 3 4 4 chunks +32 lines, -4 lines 0 comments Download

Messages

Total messages: 22 (8 generated)
jrummell
PTAL.
5 years, 6 months ago (2015-06-18 01:29:40 UTC) #2
sandersd (OOO until July 31)
lgtm
5 years, 6 months ago (2015-06-22 20:12:48 UTC) #3
ddorwin
https://codereview.chromium.org/1189073004/diff/1/media/cdm/cenc_utils_unittest.cc File media/cdm/cenc_utils_unittest.cc (right): https://codereview.chromium.org/1189073004/diff/1/media/cdm/cenc_utils_unittest.cc#newcode519 media/cdm/cenc_utils_unittest.cc:519: 'f', 'r', 'e', 'e' Perhaps p s s g, ...
5 years, 6 months ago (2015-06-25 23:08:17 UTC) #4
jrummell
Updated. https://codereview.chromium.org/1189073004/diff/1/media/cdm/cenc_utils_unittest.cc File media/cdm/cenc_utils_unittest.cc (right): https://codereview.chromium.org/1189073004/diff/1/media/cdm/cenc_utils_unittest.cc#newcode519 media/cdm/cenc_utils_unittest.cc:519: 'f', 'r', 'e', 'e' On 2015/06/25 23:08:17, ddorwin ...
5 years, 5 months ago (2015-06-30 00:06:03 UTC) #5
jrummell
Updated to add ReadAllChildrenAndCheckFourCC(). Also did a rebase to pick up the latest changes in ...
5 years, 5 months ago (2015-06-30 20:50:35 UTC) #6
ddorwin
LGTM with comments. Thanks! https://codereview.chromium.org/1189073004/diff/40001/media/formats/mp4/box_reader.h File media/formats/mp4/box_reader.h (right): https://codereview.chromium.org/1189073004/diff/40001/media/formats/mp4/box_reader.h#newcode143 media/formats/mp4/box_reader.h:143: // Note that this method ...
5 years, 5 months ago (2015-07-01 20:22:35 UTC) #7
jrummell
Thanks for the reviews. https://codereview.chromium.org/1189073004/diff/40001/media/formats/mp4/box_reader.h File media/formats/mp4/box_reader.h (right): https://codereview.chromium.org/1189073004/diff/40001/media/formats/mp4/box_reader.h#newcode143 media/formats/mp4/box_reader.h:143: // Note that this method ...
5 years, 5 months ago (2015-07-01 20:58:00 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1189073004/60001
5 years, 5 months ago (2015-07-01 20:58:37 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_dbg/builds/87349)
5 years, 5 months ago (2015-07-01 21:09:35 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1189073004/50004
5 years, 5 months ago (2015-07-01 23:29:53 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/40235)
5 years, 5 months ago (2015-07-02 01:35:55 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1189073004/50004
5 years, 5 months ago (2015-07-09 21:17:29 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:50004)
5 years, 5 months ago (2015-07-09 22:34:58 UTC) #21
commit-bot: I haz the power
5 years, 5 months ago (2015-07-09 22:35:55 UTC) #22
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/a9db3fe426268a67d808fe964d4fc9f28271fd17
Cr-Commit-Position: refs/heads/master@{#338171}

Powered by Google App Engine
This is Rietveld 408576698