276dcc784a
- security update * CVE-2018-10963 [bsc#1092949] + tiff-CVE-2018-10963.patch OBS-URL: https://build.opensuse.org/request/show/607515 OBS-URL: https://build.opensuse.org/package/show/graphics/tiff?expand=0&rev=116
20 lines
663 B
Diff
20 lines
663 B
Diff
diff --git a/libtiff/tif_dirwrite.c b/libtiff/tif_dirwrite.c
|
|
index 2430de6..c15a28d 100644
|
|
--- a/libtiff/tif_dirwrite.c
|
|
+++ b/libtiff/tif_dirwrite.c
|
|
@@ -695,8 +695,11 @@ TIFFWriteDirectorySec(TIFF* tif, int isimage, int imagedone, uint64* pdiroff)
|
|
}
|
|
break;
|
|
default:
|
|
- assert(0); /* we should never get here */
|
|
- break;
|
|
+ TIFFErrorExt(tif->tif_clientdata,module,
|
|
+ "Cannot write tag %d (%s)",
|
|
+ TIFFFieldTag(o),
|
|
+ o->field_name ? o->field_name : "unknown");
|
|
+ goto bad;
|
|
}
|
|
}
|
|
}
|
|
|