[RESTRICT AUTOMERGE]: CTS test for Android Security b/77599438 b/111211401
Test: successful run of newly introduced CTS test case.
Bug: 77599438
Bug: 111211401
Change-Id: I6598274a3b70abb4f6c6e7d50a5a1bf35baa7b23
Signed-off-by: Karthick Pandiarajan <karthick.pandiarajan@harman.corp-partner.google.com>
(cherry picked from commit 782e97728ea587776cfabd243c1c3022cf479fb6)
diff --git a/tests/tests/security/res/raw/cve_2018_9423.mp4 b/tests/tests/security/res/raw/cve_2018_9423.mp4
new file mode 100755
index 0000000..08e2387
--- /dev/null
+++ b/tests/tests/security/res/raw/cve_2018_9423.mp4
Binary files differ
diff --git a/tests/tests/security/src/android/security/cts/StagefrightTest.java b/tests/tests/security/src/android/security/cts/StagefrightTest.java
index 868219e..7d1c343 100755
--- a/tests/tests/security/src/android/security/cts/StagefrightTest.java
+++ b/tests/tests/security/src/android/security/cts/StagefrightTest.java
@@ -894,6 +894,11 @@
doStagefrightTest(R.raw.cve_2017_18155);
}
+ @SecurityTest
+ public void testStagefright_cve_2018_9423() throws Exception {
+ doStagefrightTest(R.raw.cve_2018_9423);
+ }
+
private void doStagefrightTest(final int rid) throws Exception {
doStagefrightTestMediaPlayer(rid);
doStagefrightTestMediaCodec(rid);