diff options
author | Antonio Rojas | 2017-02-18 10:44:37 +0000 |
---|---|---|
committer | Antonio Rojas | 2017-02-18 10:44:37 +0000 |
commit | 57f0f168d4df978845a4cf3d0ca750bdb3dc51e1 (patch) | |
tree | f1c4bef74c04a17415443808ba734e157b141d80 /CVE-2007-6110.patch | |
download | aur-57f0f168d4df978845a4cf3d0ca750bdb3dc51e1.tar.gz |
Dropped from extra
Diffstat (limited to 'CVE-2007-6110.patch')
-rw-r--r-- | CVE-2007-6110.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/CVE-2007-6110.patch b/CVE-2007-6110.patch new file mode 100644 index 000000000000..57b0e3b78731 --- /dev/null +++ b/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; |