[RESTRICT AUTOMERGE]: CTS test for Android Security b/33139050
Bug: 33139050
Bug: 72461495
Test: Ran the new testcase on android-7.0.0_r24 with/without patch
Change-Id: I4c059998f70cbbe2d256c4a1e493dcf343d1f20a
diff --git a/hostsidetests/securitybulletin/res/bug_33139050.h264 b/hostsidetests/securitybulletin/res/bug_33139050.h264
new file mode 100644
index 0000000..32545d4
--- /dev/null
+++ b/hostsidetests/securitybulletin/res/bug_33139050.h264
Binary files differ
diff --git a/hostsidetests/securitybulletin/src/android/security/cts/TestMediaCodec.java b/hostsidetests/securitybulletin/src/android/security/cts/TestMediaCodec.java
index e20791b..8e75bd1 100644
--- a/hostsidetests/securitybulletin/src/android/security/cts/TestMediaCodec.java
+++ b/hostsidetests/securitybulletin/src/android/security/cts/TestMediaCodec.java
@@ -78,6 +78,15 @@
below this comment, before any existing test methods
***********************************************************/
+ @SecurityTest(minPatchLevel = "2017-03")
+ public void testPocBug_33139050() throws Exception {
+ String inputFiles[] = {"bug_33139050.h264"};
+ runAvcDecodeMemTest(inputFiles,
+ "--input " + TMP_FILE_PATH
+ + "bug_33139050.h264 --output /dev/null --num_cores 2",
+ getDevice(), null);
+ }
+
@SecurityTest
public void testPocBug_33621215() throws Exception {
String inputFiles[] = {"bug_33621215.h264"};