Hi all,
this patch updates libpng to 1.2.46.
From the changelog:
*Fixed uninitialized memory read in png_format_buffer() (Bug
report by Frank Busse, related to CVE-2004-0421).
* Pass "" instead of '\0' to png_default_error() in png_err(). This
mistake was introduced in libpng-1.2.20beta01.
* Check for up->location !PNG_AFTER_IDAT when writing unknown chunks
before IDAT.
* Ported bugfix in pngrtran.c from 1.5.3: when expanding a paletted
image, always expand to RGBA if transparency is present.
* Check for integer overflow in png_set_rgb_to_gray().
Thanks!
-Raphaël
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2006 OpenWrt.org
+# Copyright (C) 2006-2011 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -8,15 +8,15 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=libpng
-PKG_VERSION:=1.2.44
+PKG_VERSION:=1.2.46
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=@SF/libpng
-PKG_MD5SUM:=e3ac7879d62ad166a6f0c7441390d12b
+PKG_MD5SUM:=e8b43dc78ef95b3949af7f961d76874b
-PKG_FIXUP:=libtool
PKG_INSTALL:=1
+PKG_FIXUP:=libtool
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/host-build.mk
@@ -34,7 +34,7 @@ TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \
--enable-shared \
- --enable-static \
+ --enable-static
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/bin
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel