commit | 5d4b01c20e4163fbbe2f62c6225d0b9bd0fdcf13 | [log] [tgz] |
---|---|---|
author | Andres Celis <celisa@google.com> | Tue Sep 19 10:23:56 2017 -0700 |
committer | Andres Celis <celisa@google.com> | Tue Sep 19 17:26:56 2017 +0000 |
tree | a53870abde810f910257d5006a223dc819865fc2 | |
parent | 5dc550a90a8917f65ce2f1993f495ef3f7402d18 [diff] |
CTS/STS test for Android Security b/62214264 Test: successful run of newly introduced CTS test case. Bug:62214264 Change-Id: I8868a6c3376a1057975f16608634c5eb151b6c11
diff --git a/tests/tests/security/res/raw/cve_2017_0762.mp4 b/tests/tests/security/res/raw/cve_2017_0762.mp4 new file mode 100644 index 0000000..e8cc2cd --- /dev/null +++ b/tests/tests/security/res/raw/cve_2017_0762.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 0b8be0f..39fb8e3 100644 --- a/tests/tests/security/src/android/security/cts/StagefrightTest.java +++ b/tests/tests/security/src/android/security/cts/StagefrightTest.java
@@ -817,6 +817,11 @@ doStagefrightTestRawBlob(R.raw.bug_64836894, "video/avc", 320, 240); } + @SecurityTest + public void testCve_2017_0762() throws Exception { + doStagefrightTestRawBlob(R.raw.cve_2017_0762, "video/hevc", 320, 240); + } + private void runWithTimeout(Runnable runner, int timeout) { Thread t = new Thread(runner); t.start();