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

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

Change-Id: I6c92b4c42f06979124d78a57c8d925ba683b2b29
(cherry picked from commit d0daab8e51ff59149d91f0bdfaa631550748eac4)
diff --git a/hostsidetests/securitybulletin/res/cve_2017_0776.h264 b/hostsidetests/securitybulletin/res/cve_2017_0776.h264
new file mode 100644
index 0000000..64651a8
--- /dev/null
+++ b/hostsidetests/securitybulletin/res/cve_2017_0776.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 1452a67..18d15dd 100644
--- a/hostsidetests/securitybulletin/src/android/security/cts/TestMediaCodec.java
+++ b/hostsidetests/securitybulletin/src/android/security/cts/TestMediaCodec.java
@@ -157,6 +157,19 @@
      ******************************************************************************/
 
     /**
+     * b/38496660
+     * Vulnerability Behaviour: SIGSEGV in self
+     **/
+    @Test
+    @SecurityTest(minPatchLevel = "2017-09")
+    public void testPocCVE_2017_0776() throws Exception {
+        String inputFiles[] = {"cve_2017_0776.h264"};
+        runAvcDecodeMemTest(inputFiles,
+                "-i " + AdbUtils.TMP_PATH + inputFiles[0] + " --num_frames -1 --num_cores 4",
+                getDevice());
+    }
+
+    /**
      * b/71375536
      * Vulnerability Behaviour: SIGSEGV in self
      **/