From 4d4512e6c85da2a469e8bac803d9091c21eda7e4 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 1 Aug 2024 14:39:52 +0000 Subject: automatic import of docbook-style-xsl --- docbook-style-xsl-non-recursive-string-subst.patch | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 docbook-style-xsl-non-recursive-string-subst.patch (limited to 'docbook-style-xsl-non-recursive-string-subst.patch') diff --git a/docbook-style-xsl-non-recursive-string-subst.patch b/docbook-style-xsl-non-recursive-string-subst.patch new file mode 100644 index 0000000..ed302a9 --- /dev/null +++ b/docbook-style-xsl-non-recursive-string-subst.patch @@ -0,0 +1,30 @@ +Description: use EXSLT "replace" function when available + A recursive implementation of string.subst is problematic, + long strings with many matches will cause stack overflows. +Author: Peter De Wachter +Bug-Debian: https://bugs.debian.org/750593 + +--- docbook-xsl-1.78.1+dfsg.orig/docbook-xsl/lib/lib.xsl ++++ docbook-xsl-1.78.1+dfsg/docbook-xsl/lib/lib.xsl +@@ -10,7 +10,10 @@ + + This module implements DTD-independent functions + +- ******************************************************************** --> ++ ******************************************************************** --> + + + +@@ -56,6 +59,9 @@ + + + ++ ++ ++ + + + -- cgit v1.2.3