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

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

Change-Id: I96c38d5351d9d80b85145fd400c94f819f044d32
diff --git a/hostsidetests/securitybulletin/res/cve_2018_9341.m2v b/hostsidetests/securitybulletin/res/cve_2018_9341.m2v
new file mode 100644
index 0000000..1c77ebf
--- /dev/null
+++ b/hostsidetests/securitybulletin/res/cve_2018_9341.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 0c7aca8..c58b2e4 100644
--- a/hostsidetests/securitybulletin/src/android/security/cts/TestMediaCodec.java
+++ b/hostsidetests/securitybulletin/src/android/security/cts/TestMediaCodec.java
@@ -366,6 +366,19 @@
      ******************************************************************************/
 
     /**
+     * b/74016277
+     * Vulnerability Behaviour: SIGSEGV in self
+     **/
+    @Test
+    @SecurityTest(minPatchLevel = "2018-06")
+    public void testPocCVE_2018_9341() throws Exception {
+        String inputFiles[] = {"cve_2018_9341.m2v"};
+        runMpeg2DecodeTest(inputFiles,
+                "--input " + AdbUtils.TMP_PATH + inputFiles[0] + " --num_frames -1 --num_cores 1",
+                getDevice());
+    }
+
+    /**
      * b/63873837
      * Vulnerability Behaviour: SIGSEGV in self
      */