Репозитории 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-alt-fix-overflow-destination-buffer.patch
Скачать
Скачать
diff --git a/netpbm/converter/other/fiasco/lib/image.c b/netpbm/converter/other/fiasco/lib/image.c
index 0168734..22e379b 100644
--- a/netpbm/converter/other/fiasco/lib/image.c
+++ b/netpbm/converter/other/fiasco/lib/image.c
@@ -239,7 +239,7 @@ alloc_image (unsigned width, unsigned height, bool_t color, format_e format)
image->format = format;
image->reference_count = 1;
- strcpy (image->id, "IFIASCO");
+ strncpy (image->id, "IFIASCO", sizeof(image->id));
for (band = first_band (color); band <= last_band (color); band++)
if (format == FORMAT_4_2_0 && band != Y)