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 Change-Id: Ife2da17e7f39d8031bc36b83c3b27ba5e9d83eb7 (cherry picked from commit 9663fbbb22819b257fd13846b7414fc78fe8d26a)
Loading
Please register or sign in to comment