From a21960cf904b82545bd6ae38498358d31ad733af Mon Sep 17 00:00:00 2001 From: Daniel Hugenroth Date: Thu, 9 Mar 2017 05:29:10 -0800 Subject: [PATCH] Bump libpng to latest version v1.6.26 for gradle build Summary: This change updates the underlying libpng to its latest version v1.6.26 (see http://www.libpng.org/pub/png/libpng.html) As a result, the library moves pass some fixes for vulnerabilities. Most mentionable: CVE-2016-10087, CVE-2015-8126 and CVE-2015-0973. Those should have not had any affect on the security of Fresco, as we only use libpng for creating PNG files and not for reading untrusted sources. Reviewed By: kirwan Differential Revision: D4681405 fbshipit-source-id: 4ddf797f270b1f096da544a6a7bd2eb485bcb8ca --- gradle.properties | 2 +- .../jni/third-party/{libpng-1.6.10 => libpng-1.6.26}/Android.mk | 0 .../third-party/{libpng-1.6.10 => libpng-1.6.26}/pnglibconf.h | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename static-webp/src/main/jni/third-party/{libpng-1.6.10 => libpng-1.6.26}/Android.mk (100%) rename static-webp/src/main/jni/third-party/{libpng-1.6.10 => libpng-1.6.26}/pnglibconf.h (100%) diff --git a/gradle.properties b/gradle.properties index ecfbda7e79..245e39592c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -44,7 +44,7 @@ VOLLEY_VERSION=1.0.0 # Deps for native libraries LIBJPEG_TURBO_VERSION=1.5.0 -LIBPNG_VERSION=1.6.10 +LIBPNG_VERSION=1.6.26 GIFLIB_VERSION=5.1.1 LIBWEBP_VERSION=0.5.2 diff --git a/static-webp/src/main/jni/third-party/libpng-1.6.10/Android.mk b/static-webp/src/main/jni/third-party/libpng-1.6.26/Android.mk similarity index 100% rename from static-webp/src/main/jni/third-party/libpng-1.6.10/Android.mk rename to static-webp/src/main/jni/third-party/libpng-1.6.26/Android.mk diff --git a/static-webp/src/main/jni/third-party/libpng-1.6.10/pnglibconf.h b/static-webp/src/main/jni/third-party/libpng-1.6.26/pnglibconf.h similarity index 100% rename from static-webp/src/main/jni/third-party/libpng-1.6.10/pnglibconf.h rename to static-webp/src/main/jni/third-party/libpng-1.6.26/pnglibconf.h