be5efd77b8
* A number of security issues have been resolved, including CVE-2012-3401. * Accessor functions for TIFF field information have been added to support functionality which was available in libtiff 3.9.X. ok jasper@
13 lines
494 B
Plaintext
13 lines
494 B
Plaintext
$OpenBSD: patch-libtiff_tif_dirinfo_c,v 1.7 2012/09/24 19:51:04 naddy Exp $
|
|
--- libtiff/tif_dirinfo.c.orig Sun Aug 19 18:56:34 2012
|
|
+++ libtiff/tif_dirinfo.c Mon Sep 24 21:30:29 2012
|
|
@@ -711,7 +711,7 @@ _TIFFCreateAnonField(TIFF *tif, uint32 tag, TIFFDataTy
|
|
* note that this name is a special sign to TIFFClose() and
|
|
* _TIFFSetupFields() to free the field
|
|
*/
|
|
- sprintf(fld->field_name, "Tag %d", (int) tag);
|
|
+ snprintf(fld->field_name, 32, "Tag %d", (int) tag);
|
|
|
|
return fld;
|
|
}
|