Репозитории ALT
S: | 2.4.7-alt1 |
5.1: | 1.4.2-alt1.M51.2 |
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 |
Группа :: Система/Серверы
Пакет: cups
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: cups-CVE-2010-1748.patch
Скачать
Скачать
diff -up cups-1.3.7/cgi-bin/var.c.CVE-2010-1748 cups-1.3.7/cgi-bin/var.c
--- cups-1.3.7/cgi-bin/var.c.CVE-2010-1748 2010-05-13 17:17:29.324218144 +0100
+++ cups-1.3.7/cgi-bin/var.c 2010-05-13 17:18:05.660219246 +0100
@@ -1103,6 +1103,9 @@ cgi_initialize_string(const char *data)
* Read the hex code...
*/
+ if (!isxdigit(data[1] & 255) || !isxdigit(data[2] & 255))
+ return (0);
+
if (s < (value + sizeof(value) - 1))
{
data ++;