forked from pool/netpbm
Petr Gajdos
f63e76a470
Copy from home:rguenther:branches:graphics/netpbm via accept of submit request 32502 revision 2. Request was accepted with message: Thanks! OBS-URL: https://build.opensuse.org/request/show/32502 OBS-URL: https://build.opensuse.org/package/show/graphics/netpbm?expand=0&rev=13
14 lines
589 B
Diff
14 lines
589 B
Diff
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)
|