pkgsrc/graphics/tiff
maya 11860eb9d5 tiff: apply fix for CVE-2018-18557
From 681748ec2f5ce88da5f9fa6831e1653e46af8a66 Mon Sep 17 00:00:00 2001
From: Even Rouault <even.rouault@spatialys.com>
Date: Sun, 14 Oct 2018 16:38:29 +0200
Subject: [PATCH 1/1] JBIG: fix potential out-of-bounds write in JBIGDecode()

JBIGDecode doesn't check if the user provided buffer is large enough
to store the JBIG decoded image, which can potentially cause out-of-bounds
write in the buffer.
This issue was reported and analyzed by Thomas Dullien.

Also fixes a (harmless) potential use of uninitialized memory when
tif->tif_rawsize > tif->tif_rawcc

And in case libtiff is compiled with CHUNKY_STRIP_READ_SUPPORT, make sure
that whole strip data is provided to JBIGDecode()

The last part (CHUNKY_STRIP_READ_SUPPORT) was adapted by myself to fit
the libtiff release.

Bump PKGREVISION.
2018-10-25 22:58:05 +00:00
..
patches tiff: apply fix for CVE-2018-18557 2018-10-25 22:58:05 +00:00
buildlink3.mk
DESCR
distinfo tiff: apply fix for CVE-2018-18557 2018-10-25 22:58:05 +00:00
Makefile tiff: apply fix for CVE-2018-18557 2018-10-25 22:58:05 +00:00
options.mk
PLIST Update tiff to version 4.0.9. 2017-11-19 16:31:04 +00:00