From 110b619b3891d49732c95361748218ce35a0e26c Mon Sep 17 00:00:00 2001 From: Thomas Heil Date: Sun, 3 Sep 2017 15:03:56 +0200 Subject: [PATCH] pcre: Added fix for CVE-2017-11164 by adding stack recursion limit Signed-off-by: Thomas Heil --- libs/pcre/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/pcre/Makefile b/libs/pcre/Makefile index 952deb6a5..ba4d571ce 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