Репозитории ALT
S: | 3.0-alt3 |
D: | 3.00g-alt1 |
5.1: | 2.32-alt2 |
4.1: | 2.32-alt2.M41.1 |
4.0: | 2.32-alt1.0 |
3.0: | 2.3-alt2 |
Группа :: Архивирование/Сжатие
Пакет: zip
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: zip-2.3-longname.patch
Скачать
Скачать
diff -ur zip-2.3/unix/unix.c zip-2.3-lon/unix/unix.c
--- zip-2.3/unix/unix.c Mon Nov 8 10:27:17 2004
+++ zip-2.3-lon/unix/unix.c Mon Nov 8 10:38:28 2004
@@ -339,6 +339,9 @@
char name[FNMAX];
int len = strlen(f);
+ if (len >= sizeof(name))
+ error("File name too long");
+
if (f == label) {
if (a != NULL)
*a = label_mode;