[RESTRICT AUTOMERGE] CTS test for Android Security b/34819017

Bug: 34819017
Bug: 72457088
Test: Ran the new testcase on android-8.0.0_r11 with/without patch

Change-Id: I6c4c6e25c1e8927783b910b1342f211712af2087
diff --git a/hostsidetests/securitybulletin/res/cve_2017_0642.hevc b/hostsidetests/securitybulletin/res/cve_2017_0642.hevc
new file mode 100644
index 0000000..a55f7e0
--- /dev/null
+++ b/hostsidetests/securitybulletin/res/cve_2017_0642.hevc
Binary files differ
diff --git a/hostsidetests/securitybulletin/src/android/security/cts/TestMediaCodec.java b/hostsidetests/securitybulletin/src/android/security/cts/TestMediaCodec.java
index d232639..9068ff4 100644
--- a/hostsidetests/securitybulletin/src/android/security/cts/TestMediaCodec.java
+++ b/hostsidetests/securitybulletin/src/android/security/cts/TestMediaCodec.java
@@ -87,6 +87,19 @@
      ******************************************************************************/
 
     /**
+     * b/34819017
+     * Vulnerability Behaviour: SIGSEGV in self
+     **/
+    @Test
+    @SecurityTest(minPatchLevel = "2017-06")
+    public void testPocCVE_2017_0642() throws Exception {
+        String inputFiles[] = {"cve_2017_0642.hevc"};
+        runHevcDecodeMemTest(inputFiles,
+                "--input " + AdbUtils.TMP_PATH + inputFiles[0] + " --num_frames -1 --num_cores 4",
+                getDevice());
+    }
+
+    /**
      * b/34779227
      * Vulnerability Behaviour: SIGSEGV in self
      **/