ALT Linux repositórios
S: | 2.4.7-alt1 |
5.0: | 1.3.10-alt1 |
4.1: | 1.3.10-alt0.M41.4 |
+updates: | 1.3.9-alt1.M41.1 |
4.0: | 1.2.12-alt6.M40.9 |
+updates: | 1.2.12-alt6.M40.8 |
3.0: | 1.1.20-alt14.1 |
Group :: Sistema/Servidores
RPM: cups
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: cups-1.2.12-CVE-2008-0047.patch
Download
Download
diff -up cups-1.2.4/cgi-bin/search.c.CVE-2008-0047 cups-1.2.4/cgi-bin/search.c
--- cups-1.2.4/cgi-bin/search.c.CVE-2008-0047 2006-09-17 20:01:47.000000000 +0100
+++ cups-1.2.4/cgi-bin/search.c 2008-03-07 10:20:20.000000000 +0000
@@ -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)
{