Репозитории ALT
S: | 10.85.04-alt2 |
5.1: | 10.35.32-alt1.M51.1 |
4.1: | 10.35.32-alt1.M41.1 |
4.0: | 10.35.32-alt1.M40.1 |
3.0: | 10.26.4-alt1 |
Группа :: Графика
Пакет: netpbm
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: netpbm-10.35-fix-CVE-2009-4274.patch
Скачать
Скачать
--- stable/converter/ppm/xpmtoppm.c 2009/09/27 21:44:29 995
+++ stable/converter/ppm/xpmtoppm.c 2009/12/29 20:15:07 1076
@@ -162,7 +162,7 @@
getNumber(char * const p, unsigned int const size) {
unsigned int retval;
- char * q;
+ unsigned char * q;
retval = 0;
for (q = p; q < p+size; ++q)
@@ -466,7 +466,8 @@
char line[MAX_LINE+1], str1[MAX_LINE+1], str2[MAX_LINE+1];
char *t1;
char *t2;
- int format, v;
+ int format;
+ unsigned int v;
int i, j;
bool processedStaticChar;
/* We have read up to and interpreted the "static char..." line */