]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/pcre
pcre: Fix CVE-2015-5073
[people/pmueller/ipfire-2.x.git] / lfs / pcre
index 175afc09e246b06db8cb96cd16403eedfb15235d..8f207da7ba59f7259c857919319a9cb9f4d4054c 100644 (file)
--- a/lfs/pcre
+++ b/lfs/pcre
@@ -70,6 +70,8 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
+       cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/pcre-8.37-Fix-buffer-overflow-for-named-recursive-back-referen.patch
+       cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/pcre-8.37-Fix-buffer-overflow-for-forward-reference-within-bac.patch
        cd $(DIR_APP) && ./configure \
                --prefix=/usr \
                --disable-static \