pcre: Added fix for CVE-2017-11164 by adding stack recursion limit
Signed-off-by: Thomas Heil <heil@terminal-consulting.de>
This commit is contained in:
parent
2c80296a6c
commit
110b619b38
1 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=pcre
|
PKG_NAME:=pcre
|
||||||
PKG_VERSION:=8.41
|
PKG_VERSION:=8.41
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
PKG_SOURCE_URL:=ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
|
PKG_SOURCE_URL:=ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
|
||||||
|
@ -53,6 +53,7 @@ CONFIGURE_ARGS += \
|
||||||
--enable-utf8 \
|
--enable-utf8 \
|
||||||
--enable-unicode-properties \
|
--enable-unicode-properties \
|
||||||
--enable-pcre16 \
|
--enable-pcre16 \
|
||||||
|
--with-match-limit-recursion=16000 \
|
||||||
|
|
||||||
ifneq ($(CONFIG_PACKAGE_libpcrecpp),)
|
ifneq ($(CONFIG_PACKAGE_libpcrecpp),)
|
||||||
CONFIGURE_ARGS+= --enable-cpp
|
CONFIGURE_ARGS+= --enable-cpp
|
||||||
|
|
Loading…
Reference in a new issue