commit | 5b233cbb8ac9af481173ce5a3017ac1b0cfe2e91 | [log] [tgz] |
---|---|---|
author | Krishna C R <krishna.cr@ittiam.com> | Thu Oct 17 21:26:42 2019 +0530 |
committer | Stacie Mashnitskaya <mashnitskaya@google.com> | Tue Oct 06 10:21:40 2020 -0700 |
tree | 2d3c95c6cff396b91388e8b28adb062a4226a876 | |
parent | 8e2f2db41037f2d5a5ebc6553fb208e11db65657 [diff] |
[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: I8bd90559b6c229b1fec1e3785f7d2dba46bb55c0 Merged-In: I6c92b4c42f06979124d78a57c8d925ba683b2b29
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 4d6860f2..d5e43cf 100644 --- a/hostsidetests/securitybulletin/src/android/security/cts/TestMediaCodec.java +++ b/hostsidetests/securitybulletin/src/android/security/cts/TestMediaCodec.java
@@ -169,6 +169,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 **/