SHA256
1
0
forked from pool/netpbm
netpbm/netpbm-10.35.69-gcc45.patch

14 lines
589 B
Diff
Raw Normal View History

Index: converter/other/fiasco/lib/image.c
===================================================================
--- converter/other/fiasco/lib/image.c.orig 2006-08-19 05:12:28.000000000 +0200
+++ converter/other/fiasco/lib/image.c 2010-02-13 23:50:44.000000000 +0100
@@ -200,7 +200,7 @@ alloc_image (unsigned width, unsigned he
image->format = format;
image->reference_count = 1;
- strcpy (image->id, "IFIASCO");
+ strncpy (image->id, "IFIASCO", 7);
for (band = first_band (color); band <= last_band (color); band++)
if (format == FORMAT_4_2_0 && band != Y)