Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 276339
Collapse All | Expand All

(-)tiff-3.8.2/libtiff/tif_lzw.c (-2 / +2 lines)
Lines 421-427 LZWDecode(TIFF* tif, tidata_t op0, tsize Link Here
421
			NextCode(tif, sp, bp, code, GetNextCode);
421
			NextCode(tif, sp, bp, code, GetNextCode);
422
			if (code == CODE_EOI)
422
			if (code == CODE_EOI)
423
				break;
423
				break;
424
			if (code == CODE_CLEAR) {
424
			if (code >= CODE_CLEAR) {
425
				TIFFErrorExt(tif->tif_clientdata, tif->tif_name,
425
				TIFFErrorExt(tif->tif_clientdata, tif->tif_name,
426
				"LZWDecode: Corrupted LZW table at scanline %d",
426
				"LZWDecode: Corrupted LZW table at scanline %d",
427
				tif->tif_row);
427
				tif->tif_row);
Lines 624-630 LZWDecodeCompat(TIFF* tif, tidata_t op0, Link Here
624
			NextCode(tif, sp, bp, code, GetNextCodeCompat);
624
			NextCode(tif, sp, bp, code, GetNextCodeCompat);
625
			if (code == CODE_EOI)
625
			if (code == CODE_EOI)
626
				break;
626
				break;
627
			if (code == CODE_CLEAR) {
627
			if (code >= CODE_CLEAR) {
628
				TIFFErrorExt(tif->tif_clientdata, tif->tif_name,
628
				TIFFErrorExt(tif->tif_clientdata, tif->tif_name,
629
				"LZWDecode: Corrupted LZW table at scanline %d",
629
				"LZWDecode: Corrupted LZW table at scanline %d",
630
				tif->tif_row);
630
				tif->tif_row);

Return to bug 276339