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

Issue 2514123004: Fix range checking for PP_CdmKeyStatus (Closed)

Created:
4 years, 1 month ago by jrummell
Modified:
4 years, 1 month ago
Reviewers:
bbudge, xhwang, dcheng
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix range checking for PP_CdmKeyStatus The specified maximum value doesn't allow PP_CDMKEYSTATUS_RELEASED, so update it. BUG=666975 TEST=Tested with W3C EME tests Committed: https://crrev.com/c24785e7ff8bf6ce47d903b598d813e1bbd17fab Cr-Commit-Position: refs/heads/master@{#433754}

Patch Set 1 #

Total comments: 3

Patch Set 2 : add _MAX values #

Total comments: 2

Patch Set 3 : more _MAX values #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -19 lines) Patch
M ppapi/api/private/pp_content_decryptor.idl View 1 2 6 chunks +12 lines, -6 lines 0 comments Download
M ppapi/c/private/pp_content_decryptor.h View 1 2 7 chunks +13 lines, -7 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 2 2 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 25 (12 generated)
jrummell
PTAL. IPC_ENUM_TRAITS_MAX_VALUE for PP_CdmKeyStatus was set incorrectly.
4 years, 1 month ago (2016-11-19 01:09:39 UTC) #2
xhwang
+bbudge from ppapi's perspective https://codereview.chromium.org/2514123004/diff/1/ppapi/proxy/ppapi_messages.h File ppapi/proxy/ppapi_messages.h (right): https://codereview.chromium.org/2514123004/diff/1/ppapi/proxy/ppapi_messages.h#newcode98 ppapi/proxy/ppapi_messages.h:98: IPC_ENUM_TRAITS_MAX_VALUE(PP_CdmKeyStatus, PP_CDMKEYSTATUS_RELEASED) The fix lg ...
4 years, 1 month ago (2016-11-19 01:27:51 UTC) #5
xhwang
BTW, nice catch!
4 years, 1 month ago (2016-11-19 01:28:09 UTC) #6
bbudge
LGTM https://codereview.chromium.org/2514123004/diff/1/ppapi/proxy/ppapi_messages.h File ppapi/proxy/ppapi_messages.h (right): https://codereview.chromium.org/2514123004/diff/1/ppapi/proxy/ppapi_messages.h#newcode98 ppapi/proxy/ppapi_messages.h:98: IPC_ENUM_TRAITS_MAX_VALUE(PP_CdmKeyStatus, PP_CDMKEYSTATUS_RELEASED) On 2016/11/19 01:27:51, xhwang wrote: > ...
4 years, 1 month ago (2016-11-19 01:58:11 UTC) #8
dcheng
https://codereview.chromium.org/2514123004/diff/1/ppapi/proxy/ppapi_messages.h File ppapi/proxy/ppapi_messages.h (right): https://codereview.chromium.org/2514123004/diff/1/ppapi/proxy/ppapi_messages.h#newcode98 ppapi/proxy/ppapi_messages.h:98: IPC_ENUM_TRAITS_MAX_VALUE(PP_CdmKeyStatus, PP_CDMKEYSTATUS_RELEASED) On 2016/11/19 01:58:11, bbudge wrote: > On ...
4 years, 1 month ago (2016-11-21 10:15:56 UTC) #11
jrummell
Updated to use PP_*_MAX values.
4 years, 1 month ago (2016-11-21 19:24:51 UTC) #12
xhwang
https://codereview.chromium.org/2514123004/diff/20001/ppapi/api/private/pp_content_decryptor.idl File ppapi/api/private/pp_content_decryptor.idl (right): https://codereview.chromium.org/2514123004/diff/20001/ppapi/api/private/pp_content_decryptor.idl#newcode415 ppapi/api/private/pp_content_decryptor.idl:415: PP_SESSIONTYPE_PERSISTENT_RELEASE = 2 Can we fix this, as well ...
4 years, 1 month ago (2016-11-21 19:35:18 UTC) #15
jrummell
Now with more _MAX values. https://codereview.chromium.org/2514123004/diff/20001/ppapi/api/private/pp_content_decryptor.idl File ppapi/api/private/pp_content_decryptor.idl (right): https://codereview.chromium.org/2514123004/diff/20001/ppapi/api/private/pp_content_decryptor.idl#newcode415 ppapi/api/private/pp_content_decryptor.idl:415: PP_SESSIONTYPE_PERSISTENT_RELEASE = 2 On ...
4 years, 1 month ago (2016-11-21 20:06:35 UTC) #16
xhwang
Thanks! LGTM
4 years, 1 month ago (2016-11-21 20:13:31 UTC) #17
dcheng
ipc lgtm, thanks!
4 years, 1 month ago (2016-11-22 01:29:37 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2514123004/40001
4 years, 1 month ago (2016-11-22 01:34:46 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-22 02:43:02 UTC) #23
commit-bot: I haz the power
4 years, 1 month ago (2016-11-22 02:45:27 UTC) #25
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c24785e7ff8bf6ce47d903b598d813e1bbd17fab
Cr-Commit-Position: refs/heads/master@{#433754}

Powered by Google App Engine
This is Rietveld 408576698