fab96bfad1
Man page fixes. Mostly via FreeBSD. Approving noises from bernd@ and jasper@
16 lines
545 B
Plaintext
16 lines
545 B
Plaintext
$OpenBSD: patch-libtiff_tif_print_c,v 1.1 2008/10/25 09:39:29 naddy Exp $
|
|
|
|
CVE-2006-3464,3465
|
|
|
|
--- libtiff/tif_print.c.orig Mon Mar 13 15:11:30 2006
|
|
+++ libtiff/tif_print.c Fri Oct 24 18:55:21 2008
|
|
@@ -491,7 +491,7 @@ TIFFPrintDirectory(TIFF* tif, FILE* fd, long flags)
|
|
} else
|
|
fprintf(fd, "(present)\n");
|
|
}
|
|
- if (TIFFFieldSet(tif, FIELD_SUBIFD)) {
|
|
+ if (TIFFFieldSet(tif, FIELD_SUBIFD) && (td->td_subifd)) {
|
|
fprintf(fd, " SubIFD Offsets:");
|
|
for (i = 0; i < td->td_nsubifd; i++)
|
|
fprintf(fd, " %5lu", (long) td->td_subifd[i]);
|