openbsd-ports/graphics/tiff/patches/patch-libtiff_tif_dirinfo_c
naddy 12aaddf055 SECURITY:
Update to 3.9.4, which includes fixes for CVE-2009-2347 and CVE-2010-1411.
2010-06-30 17:10:07 +00:00

13 lines
497 B
Plaintext

$OpenBSD: patch-libtiff_tif_dirinfo_c,v 1.4 2010/06/30 17:10:08 naddy Exp $
--- libtiff/tif_dirinfo.c.orig Sun Jun 27 01:01:31 2010
+++ libtiff/tif_dirinfo.c Sun Jun 27 01:01:51 2010
@@ -873,7 +873,7 @@ _TIFFCreateAnonFieldInfo(TIFF *tif, ttag_t tag, TIFFDa
* note that this name is a special sign to TIFFClose() and
* _TIFFSetupFieldInfo() to free the field
*/
- sprintf(fld->field_name, "Tag %d", (int) tag);
+ snprintf(fld->field_name, 32, "Tag %d", (int) tag);
return fld;
}