summaryrefslogtreecommitdiffstats
path: root/arch/tde-deps/htdig/CVE-2007-6110.patch
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2022-10-28 01:38:39 +0200
committerSlávek Banko <[email protected]>2022-10-28 01:38:39 +0200
commitddc027255b1bafb5c0544a60947b7c448140e384 (patch)
tree37e8b384eadf2f7f32e478ca41f10d3610b7aedd /arch/tde-deps/htdig/CVE-2007-6110.patch
parenta5c233945a54cedfcaf97a8d839b09a68b228e85 (diff)
downloadtde-packaging-ddc027255b1bafb5c0544a60947b7c448140e384.tar.gz
tde-packaging-ddc027255b1bafb5c0544a60947b7c448140e384.zip
ArchLinux: Update for final R14.0.13.
Add aarch64 and armv7h to architectures. Add pkgbuilds for several applications. Add pkgbuild for libkipi library. Add pkgbuilds for dependencies. Remove dependence on Python 2. Remove backported patches. Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'arch/tde-deps/htdig/CVE-2007-6110.patch')
-rw-r--r--arch/tde-deps/htdig/CVE-2007-6110.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/tde-deps/htdig/CVE-2007-6110.patch b/arch/tde-deps/htdig/CVE-2007-6110.patch
new file mode 100644
index 000000000..57b0e3b78
--- /dev/null
+++ b/arch/tde-deps/htdig/CVE-2007-6110.patch
@@ -0,0 +1,26 @@
+Index: htdig-3.2.0b6/htsearch/Display.cc
+===================================================================
+--- htdig-3.2.0b6.orig/htsearch/Display.cc
++++ htdig-3.2.0b6/htsearch/Display.cc
+@@ -137,7 +137,7 @@ Display::display(int pageNumber)
+ // Must temporarily stash the message in a String, since
+ // displaySyntaxError will overwrite the static temp used in form.
+
+- String s(form("No such sort method: `%s'", (const char*)config->Find("sort")));
++ String s("invalid sort method");
+
+ displaySyntaxError(s);
+ return;
+Index: htdig-3.2.0b6/libhtdig/ResultFetch.cc
+===================================================================
+--- htdig-3.2.0b6.orig/libhtdig/ResultFetch.cc
++++ htdig-3.2.0b6/libhtdig/ResultFetch.cc
+@@ -142,7 +142,7 @@ ResultFetch::fetch()
+ // Must temporarily stash the message in a String, since
+ // displaySyntaxError will overwrite the static temp used in form.
+
+- String s(form("No such sort method: `%s'", (const char *) config->Find("sort")));
++ String s("invalid sort method");
+
+ displaySyntaxError(s);
+ //return;