Android libpng 安全漏洞
Android libpng security vulnerability
我已将我的发布 apk 提交到 Google Play 控制台,但由于 libpng 安全漏洞而被拒绝。我在我的应用程序中使用了几个库。我如何知道其中哪些使用了 libpng?
我正在使用 Android 工作室。
我没有将 OpenCV 用作库!
这些是我的 build.gradle 文件中的依赖项:
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:support-v4:23.4.0'
compile 'com.android.support:design:23.4.0'
compile 'com.android.support:cardview-v7:23.4.0'
compile 'com.android.support:recyclerview-v7:23.4.0'
compile files('libs/sdk-v1.0.0.jar')
compile(name: 'pen-v4.1.0_full', ext: 'aar')
compile 'com.journeyapps:zxing-android-embedded:3.2.0@aar'
compile 'com.google.zxing:core:3.2.1'
compile files('libs/gson-2.3.jar')
compile files('libs/httpclient-4.4.jar')
compile files('libs/httpcore-4.4.jar')
compile files('libs/httpmime-4.3.6.jar')
}
让我再问一遍我的问题:
我如何知道这些库中有哪些使用了 libpng?
使用strings <youlibrary>.so | grep png
。如果您看到输出充满 png_set_*
、png_write_*
、png_image_*
- 该库使用 libpng。
我已将我的发布 apk 提交到 Google Play 控制台,但由于 libpng 安全漏洞而被拒绝。我在我的应用程序中使用了几个库。我如何知道其中哪些使用了 libpng?
我正在使用 Android 工作室。
我没有将 OpenCV 用作库!
这些是我的 build.gradle 文件中的依赖项:
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:support-v4:23.4.0'
compile 'com.android.support:design:23.4.0'
compile 'com.android.support:cardview-v7:23.4.0'
compile 'com.android.support:recyclerview-v7:23.4.0'
compile files('libs/sdk-v1.0.0.jar')
compile(name: 'pen-v4.1.0_full', ext: 'aar')
compile 'com.journeyapps:zxing-android-embedded:3.2.0@aar'
compile 'com.google.zxing:core:3.2.1'
compile files('libs/gson-2.3.jar')
compile files('libs/httpclient-4.4.jar')
compile files('libs/httpcore-4.4.jar')
compile files('libs/httpmime-4.3.6.jar')
}
让我再问一遍我的问题:
我如何知道这些库中有哪些使用了 libpng?
使用strings <youlibrary>.so | grep png
。如果您看到输出充满 png_set_*
、png_write_*
、png_image_*
- 该库使用 libpng。