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)