diff options
author | Robert Buchholz <rbu@gentoo.org> | 2008-03-19 21:27:16 +0000 |
---|---|---|
committer | Robert Buchholz <rbu@gentoo.org> | 2008-03-19 21:27:16 +0000 |
commit | 3dbcd4e98c3653670101c11ab63d438c79b2c607 (patch) | |
tree | 16a25844859b6fff8872bc00dd34084b6c2f62cd /net-print/cups/files | |
parent | unmask GGZ 0.0.14.1 (diff) | |
download | historical-3dbcd4e98c3653670101c11ab63d438c79b2c607.tar.gz historical-3dbcd4e98c3653670101c11ab63d438c79b2c607.tar.bz2 historical-3dbcd4e98c3653670101c11ab63d438c79b2c607.zip |
Non-maintainer-commit: Version bump for security bug 212364 (CVE-2008-0047).
Ebuild created by Timo Gurr <tgurr@gentoo.org>.
Package-Manager: portage-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) + { |