summaryrefslogtreecommitdiff
path: root/identity/support/src/cppbor_parse.cpp
diff options
context:
space:
mode:
authorEdwin Wong <edwinwong@google.com>2017-10-06 18:08:27 -0700
committerKeun Soo Yim <yim@google.com>2018-01-23 22:33:24 +0000
commitc312e21b5eeaf2717a3acd42345f2e5ad2200f64 (patch)
treee493e3f21c7df6e139a9695e6d9554e5b420416b /identity/support/src/cppbor_parse.cpp
parent1d93dbfb3b5a3f0b238e4b664c02677f32133585 (diff)
Add tests to validate key length for clearkey plugin.
AesCtrDecryptor::decrypt() doesn't check whether the size of "key" is equal to 16 bytes, which may lead to an OOB read problem in the context of mediadrmserver. The fix is in clearkey plugin. Add tests to validate the fix. Test: VTS test adb shell /data/nativetest/VtsHalDrmV1_0TargetTest/VtsHalDrmV1_0TargetTest bug: 63982768 Merged-In: Ife2da17e7f39d8031bc36b83c3b27ba5e9d83eb7 Change-Id: Ife2da17e7f39d8031bc36b83c3b27ba5e9d83eb7 (cherry picked from commit cc77a50e96c3b17f8918e4577df376e97e21a87c)
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions