diff options
author | 2008-03-19 21:27:16 +0000 | |
---|---|---|
committer | 2008-03-19 21:27:16 +0000 | |
commit | 09c7fd3ae0e21b48e5ff19a17fc840c9951cd87f (patch) | |
tree | f963e64caa2bb4649956780ff3f9c09e8ca108cd /net-print/cups/files | |
parent | unmask GGZ 0.0.14.1 (diff) | |
download | gentoo-2-09c7fd3ae0e21b48e5ff19a17fc840c9951cd87f.tar.gz gentoo-2-09c7fd3ae0e21b48e5ff19a17fc840c9951cd87f.tar.bz2 gentoo-2-09c7fd3ae0e21b48e5ff19a17fc840c9951cd87f.zip |
Non-maintainer-commit: Version bump for security bug 212364 (CVE-2008-0047).
Ebuild created by Timo Gurr <tgurr@gentoo.org>.
(Portage version: 2.1.4.4, RepoMan options: --force)
Diffstat (limited to 'net-print/cups/files')
-rw-r--r-- | net-print/cups/files/cups-1.2.12-CVE-2008-0047.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net-print/cups/files/cups-1.2.12-CVE-2008-0047.patch b/net-print/cups/files/cups-1.2.12-CVE-2008-0047.patch new file mode 100644 index 000000000000..6eb786ff9eb4 --- /dev/null +++ b/net-print/cups/files/cups-1.2.12-CVE-2008-0047.patch @@ -0,0 +1,15 @@ +Index: cups-1.2.12/cgi-bin/search.c +=================================================================== +--- cups-1.2.12.orig/cgi-bin/search.c ++++ cups-1.2.12/cgi-bin/search.c +@@ -171,7 +171,9 @@ cgiCompileSearch(const char *query) /* I + * string + RE overhead... + */ + +- wlen = (sptr - s) + 4 * wlen + 2 * strlen(prefix) + 4; ++ wlen = (sptr - s) + 2 * 4 * wlen + 2 * strlen(prefix) + 11; ++ if (lword) ++ wlen += strlen(lword); + + if (wlen > slen) + { |