summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Heil <heil@terminal-consulting.de>2017-09-03 15:03:56 +0200
committerZoltan HERPAI <wigyori@uid0.hu>2018-05-24 01:32:52 +0200
commit27133d6866784a693f5e39f27155c7dff0b4a711 (patch)
treee381a654ac58201af861a3560fb1fa6b806ff132
parent7ff17dd5a305c7dd0cc37fc80646b292e5677b59 (diff)
pcre: Added fix for CVE-2017-11164 by adding stack recursion limit
Signed-off-by: Thomas Heil <heil@terminal-consulting.de>
-rw-r--r--libs/pcre/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/pcre/Makefile b/libs/pcre/Makefile
index b2c8ea322..3171d2f4b 100644
--- a/libs/pcre/Makefile
+++ b/libs/pcre/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=pcre
PKG_VERSION:=8.41
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
@@ -53,6 +53,7 @@ CONFIGURE_ARGS += \
--enable-utf8 \
--enable-unicode-properties \
--enable-pcre16 \
+ --with-match-limit-recursion=16000 \
ifneq ($(CONFIG_PACKAGE_libpcrecpp),)
CONFIGURE_ARGS+= --enable-cpp