[RESTRICT AUTOMERGE] CTS test for Android Security b/70294343
Bug: 70294343
Bug: 74611242
Test: Ran the new testcase on android-8.0.0_r36 with/without patch
Change-Id: If48d5fadf7c16105cea3a1bcedde88a0f5aed78f
diff --git a/hostsidetests/securitybulletin/res/cve_2017_13264.h264 b/hostsidetests/securitybulletin/res/cve_2017_13264.h264
new file mode 100644
index 0000000..670f725
--- /dev/null
+++ b/hostsidetests/securitybulletin/res/cve_2017_13264.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 e825243..0c7aca8 100644
--- a/hostsidetests/securitybulletin/src/android/security/cts/TestMediaCodec.java
+++ b/hostsidetests/securitybulletin/src/android/security/cts/TestMediaCodec.java
@@ -208,6 +208,19 @@
******************************************************************************/
/**
+ * b/70294343
+ * Vulnerability Behaviour: SIGSEGV in self
+ **/
+ @Test
+ @SecurityTest(minPatchLevel = "2018-03")
+ public void testPocCVE_2017_13264() throws Exception {
+ String inputFiles[] = {"cve_2017_13264.h264"};
+ runAvcDecodeTest(inputFiles,
+ "--input " + AdbUtils.TMP_PATH + inputFiles[0] + " --share_display_buf 1",
+ getDevice());
+ }
+
+ /**
* b/33552073
* Vulnerability Behaviour: SIGSEGV in self
**/