From ead74a1fdfbc5b5a00683d74a8b0ff2adf4856be Mon Sep 17 00:00:00 2001 From: Andre McCurdy Date: Thu, 3 Dec 2015 21:16:35 -0800 Subject: libpng: update 1.6.19 -> 1.6.20 (CVE-2015-8126) Version 1.6.20beta01 [November 20, 2015] Avoid potential pointer overflow/underflow in png_handle_sPLT() and png_handle_pCAL() (Bug report by John Regehr). Version 1.6.20beta02 [November 23, 2015] Fixed incorrect implementation of png_set_PLTE() that uses png_ptr not info_ptr, that left png_set_PLTE() open to the CVE-2015-8126 vulnerability. Version 1.6.20beta03 [November 24, 2015] Backported tests from libpng-1.7.0beta69. Version 1.6.20rc01 [November 26, 2015] Fixed an error in handling of bad zlib CMINFO field in pngfix, found by American Fuzzy Lop, reported by Brian Carpenter. inflate() doesn't immediately fault a bad CMINFO field; instead a 'too far back' error happens later (at least some times). pngfix failed to limit CMINFO to the allowed values but then assumed that window_bits was in range, triggering an assert. The bug is mostly harmless; the PNG file cannot be fixed. Version 1.6.20rc02 [November 29, 2015] In libpng 1.6 zlib initialization was changed to use the window size in the zlib stream, not a fixed value. This causes some invalid images, where CINFO is too large, to display 'correctly' if the rest of the data is valid. This provides a workaround for zlib versions where the error arises (ones that support the API change to use the window size in the stream). Version 1.6.20 [December 3, 2015] No changes. Signed-off-by: Andre McCurdy Signed-off-by: Ross Burton --- meta/recipes-multimedia/libpng/libpng_1.6.19.bb | 27 ------------------------- meta/recipes-multimedia/libpng/libpng_1.6.20.bb | 26 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 27 deletions(-) delete mode 100644 meta/recipes-multimedia/libpng/libpng_1.6.19.bb create mode 100644 meta/recipes-multimedia/libpng/libpng_1.6.20.bb diff --git a/meta/recipes-multimedia/libpng/libpng_1.6.19.bb b/meta/recipes-multimedia/libpng/libpng_1.6.19.bb deleted file mode 100644 index 214f9d3a10..0000000000 --- a/meta/recipes-multimedia/libpng/libpng_1.6.19.bb +++ /dev/null @@ -1,27 +0,0 @@ -SUMMARY = "PNG image format decoding library" -HOMEPAGE = "http://www.libpng.org/" -SECTION = "libs" -LICENSE = "Libpng" -LIC_FILES_CHKSUM = "file://LICENSE;md5=586a8dac4d039e74af7b68ff2bc5fc41 \ - file://png.h;endline=17;md5=a38a64f8b5cf0ea4e2d4c2cb47150151 \ - file://png.h;beginline=19;endline=111;md5=d3e773acb87d7a35863203538167a776" -DEPENDS = "zlib" -LIBV = "16" - -SRC_URI = "${SOURCEFORGE_MIRROR}/project/libpng/libpng${LIBV}/${PV}/libpng-${PV}.tar.xz \ - " -SRC_URI[md5sum] = "1e6a458429e850fc93c1f3b6dc00a48f" -SRC_URI[sha256sum] = "311c5657f53516986c67713c946f616483e3cdb52b8b2ee26711be74e8ac35e8" - -BINCONFIG = "${bindir}/libpng-config ${bindir}/libpng16-config" - -inherit autotools binconfig-disabled pkgconfig - -# Work around missing symbols -EXTRA_OECONF_append_class-target = " ${@bb.utils.contains("TUNE_FEATURES", "neon", "--enable-arm-neon=on", "--enable-arm-neon=off" ,d)}" - -PACKAGES =+ "${PN}-tools" - -FILES_${PN}-tools = "${bindir}/png-fix-itxt ${bindir}/pngfix" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta/recipes-multimedia/libpng/libpng_1.6.20.bb b/meta/recipes-multimedia/libpng/libpng_1.6.20.bb new file mode 100644 index 0000000000..6c149d22dc --- /dev/null +++ b/meta/recipes-multimedia/libpng/libpng_1.6.20.bb @@ -0,0 +1,26 @@ +SUMMARY = "PNG image format decoding library" +HOMEPAGE = "http://www.libpng.org/" +SECTION = "libs" +LICENSE = "Libpng" +LIC_FILES_CHKSUM = "file://LICENSE;md5=55b60b5bb3ed92fbf9197e565a7fac02 \ + file://png.h;endline=112;md5=a6352a338642f0dbd2fc280ae060d3e9" +DEPENDS = "zlib" +LIBV = "16" + +SRC_URI = "${SOURCEFORGE_MIRROR}/project/libpng/libpng${LIBV}/${PV}/libpng-${PV}.tar.xz \ + " +SRC_URI[md5sum] = "3968acb7c66ef81a9dab867f35d0eb4b" +SRC_URI[sha256sum] = "55c5959e9f3484d96141a3226c53bc9da42a4845e70879d3e1d6e94833d1918b" + +BINCONFIG = "${bindir}/libpng-config ${bindir}/libpng16-config" + +inherit autotools binconfig-disabled pkgconfig + +# Work around missing symbols +EXTRA_OECONF_append_class-target = " ${@bb.utils.contains("TUNE_FEATURES", "neon", "--enable-arm-neon=on", "--enable-arm-neon=off" ,d)}" + +PACKAGES =+ "${PN}-tools" + +FILES_${PN}-tools = "${bindir}/png-fix-itxt ${bindir}/pngfix" + +BBCLASSEXTEND = "native nativesdk" -- cgit 1.2.3-korg