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

Bug: 74078669
Bug: 114103069
Test: Ran the new testcase on android-8.0.0_r30 with/without patch

Change-Id: Idb000f46c3f9b8153de9381acfb1c482524f9f26
diff --git a/hostsidetests/securitybulletin/res/cve_2018_9497.m2v b/hostsidetests/securitybulletin/res/cve_2018_9497.m2v
new file mode 100644
index 0000000..b8b2fb2
--- /dev/null
+++ b/hostsidetests/securitybulletin/res/cve_2018_9497.m2v
Binary files differ
diff --git a/hostsidetests/securitybulletin/src/android/security/cts/TestMediaCodec.java b/hostsidetests/securitybulletin/src/android/security/cts/TestMediaCodec.java
index c58b2e4..f3c2879 100644
--- a/hostsidetests/securitybulletin/src/android/security/cts/TestMediaCodec.java
+++ b/hostsidetests/securitybulletin/src/android/security/cts/TestMediaCodec.java
@@ -366,6 +366,20 @@
      ******************************************************************************/
 
     /**
+     * b/74078669
+     * Vulnerability Behaviour: SIGSEGV in self
+     */
+    @Test
+    @SecurityTest(minPatchLevel = "2018-10")
+    public void testPocCVE_2018_9497() throws Exception {
+        String inputFiles[] = {"cve_2018_9497.m2v"};
+        runMpeg2DecodeTest(inputFiles,
+                "--input " + AdbUtils.TMP_PATH + inputFiles[0] + " --save_output 0"
+                + " --num_frames -1 --loopback 0 --display 0 --save_chksum 0",
+                getDevice());
+    }
+
+    /**
      * b/74016277
      * Vulnerability Behaviour: SIGSEGV in self
      **/