Petr Gajdos
daa5f36cc1
CVE-2014-8129, CVE-2014-8130, CVE-2015-1547 bnc#914890, bnc#916925, bnc#916927 + erouault.2856.patch + erouault.2857.patch + erouault.2858.patch + erouault.2859.patch + erouault.2860.patch + erouault.2861.patch + erouault.2862.patch + erouault.2863.patch + erouault.2876.patch + bfriesen.2805.patch + tiff-handle-TIFFTAG_CONSECUTIVEBADFAXLINES.patch + tiff-handle-TIFFTAG_PREDICTOR.patch + tiff-dither-malloc-check.patch OBS-URL: https://build.opensuse.org/package/show/graphics/tiff?expand=0&rev=65
17 lines
487 B
Diff
17 lines
487 B
Diff
Index: tools/tiffdither.c
|
|
===================================================================
|
|
--- tools/tiffdither.c.orig 2015-02-18 13:06:47.972867055 +0100
|
|
+++ tools/tiffdither.c 2015-02-18 13:12:03.759562692 +0100
|
|
@@ -77,6 +77,11 @@
|
|
outlinesize = TIFFScanlineSize(out);
|
|
outline = (unsigned char *) _TIFFmalloc(outlinesize);
|
|
|
|
+ if (! (inputline && thisline && nextline && outline)) {
|
|
+ fprintf(stderr, "Out of memory.\n");
|
|
+ return;
|
|
+ }
|
|
+
|
|
/*
|
|
* Get first line
|
|
*/
|