mt6735 android.security.cts.S tagefrightTest#testStagefright_cve_2...
时间:10-02
整理:3721RD
点击:
[CTS5.0_r4]android.security.cts.Stagefright Test#test Stagefright_cve_2015_3826 fail
[DESCRIPTION]
CTS5.0r4新增了一些cases,如果没有合入相应的Google Security Patch则会fail,比如下面这个:
02-22 16:45:32 I/0123456789ABCDEF:
android.security.cts.StagefrightTest#testStagefright_cve_2015_3826 FAIL
junit.php?mod=tag&id=6090" target="_blank" class="relatedlink">Framework.AssertionFailedError: Device *IS* vulnerable to CVE-2015-3826
at junit.framework.Assert.fail(Assert.java:50)
at junit.framework.Assert.assertTrue(Assert.java:20)
at junit.framework.Assert.assertFalse(Assert.java:34)
at android.security.cts.StagefrightTest.doStagefrightTest(StagefrightTest.java:168)
at
android.security.cts.StagefrightTest.testStagefright_cve_2015_3826(StagefrightTest.java
:74)
CTS源码可以参考:
https://android.googlesource.com/platform/cts/+/android-cts-
5.0_r4/tests/tests/security/src/android/security/cts/StagefrightTest.java
[SOLUTION]
以testStagefright_cve_2015_3826这笔为例,请自行到敝司MOL速成学院,查询CVE-2015-3826 对应的Patch ID,然后到PMS申请该Patch( ALPS02228003),除此之外,还需要申请ALPS02588042。
MediaTek On-Line> Quick Start> CTS测试快速入门>2Google Security Patch
[DESCRIPTION]
CTS5.0r4新增了一些cases,如果没有合入相应的Google Security Patch则会fail,比如下面这个:
02-22 16:45:32 I/0123456789ABCDEF:
android.security.cts.StagefrightTest#testStagefright_cve_2015_3826 FAIL
junit.php?mod=tag&id=6090" target="_blank" class="relatedlink">Framework.AssertionFailedError: Device *IS* vulnerable to CVE-2015-3826
at junit.framework.Assert.fail(Assert.java:50)
at junit.framework.Assert.assertTrue(Assert.java:20)
at junit.framework.Assert.assertFalse(Assert.java:34)
at android.security.cts.StagefrightTest.doStagefrightTest(StagefrightTest.java:168)
at
android.security.cts.StagefrightTest.testStagefright_cve_2015_3826(StagefrightTest.java
:74)
CTS源码可以参考:
https://android.googlesource.com/platform/cts/+/android-cts-
5.0_r4/tests/tests/security/src/android/security/cts/StagefrightTest.java
[SOLUTION]
以testStagefright_cve_2015_3826这笔为例,请自行到敝司MOL速成学院,查询CVE-2015-3826 对应的Patch ID,然后到PMS申请该Patch( ALPS02228003),除此之外,还需要申请ALPS02588042。
MediaTek On-Line> Quick Start> CTS测试快速入门>2Google Security Patch