49fba54f41
security fixes [release 3.2.0b6-1mamba;Tue Dec 01 2009]
25 lines
1.1 KiB
Diff
25 lines
1.1 KiB
Diff
diff -ru htdig-3.2.0b6/htsearch/Display.cc htdig-3.2.0b6-fix/htsearch/Display.cc
|
|
--- htdig-3.2.0b6/htsearch/Display.cc 2004-05-28 15:15:24.000000000 +0200
|
|
+++ htdig-3.2.0b6-fix/htsearch/Display.cc 2009-12-01 21:29:25.000000000 +0100
|
|
@@ -137,7 +137,7 @@
|
|
// 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;
|
|
diff -ru htdig-3.2.0b6/libhtdig/ResultFetch.cc htdig-3.2.0b6-fix/libhtdig/ResultFetch.cc
|
|
--- htdig-3.2.0b6/libhtdig/ResultFetch.cc 2004-05-28 15:15:28.000000000 +0200
|
|
+++ htdig-3.2.0b6-fix/libhtdig/ResultFetch.cc 2009-12-01 21:30:26.000000000 +0100
|
|
@@ -142,7 +142,7 @@
|
|
// 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;
|