We omit the ChangeLog changes below, since they do not apply cleanly. From 6ee5059cd3ac8d82714a1ab1321399b88539abf0 Mon Sep 17 00:00:00 2001 From: Cristy Date: Mon, 30 Nov 2020 16:26:59 +0000 Subject: [PATCH] possible TIFF related-heap buffer overflow (alert & POC by Hardik Shah) --- ChangeLog | 6 ++++++ coders/tiff.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/coders/tiff.c b/coders/tiff.c index e98f927ab..1eecf17ae 100644 --- a/coders/tiff.c +++ b/coders/tiff.c @@ -1975,7 +1975,7 @@ static Image *ReadTIFFImage(const ImageInfo *image_info, extent+=image->columns*sizeof(uint32); #endif strip_pixels=(unsigned char *) AcquireQuantumMemory(extent, - sizeof(*strip_pixels)); + 2*sizeof(*strip_pixels)); if (strip_pixels == (unsigned char *) NULL) ThrowTIFFException(ResourceLimitError,"MemoryAllocationFailed"); (void) memset(strip_pixels,0,extent*sizeof(*strip_pixels)); zed Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/scribus.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-06-27 16:14:21 +0200
committerLudovic Courtès <ludo@gnu.org>2021-07-11 00:49:15 +0200
commit7b7b8c909bdfc3f281d6fd5f40784c46c795c014 (patch)
tree980a58d4636f8ce41f60220f82db78379fd87d3b /gnu/packages/scribus.scm
parentf23803af2018a148fb088f2516d79c20d6bf95f0 (diff)
downloadguix-7b7b8c909bdfc3f281d6fd5f40784c46c795c014.tar.gz
guix-7b7b8c909bdfc3f281d6fd5f40784c46c795c014.zip
packages: 'hidden-package' inherits the original package location.
* guix/packages.scm (hidden-package): Inherit 'location' from P.
Diffstat (limited to 'gnu/packages/scribus.scm')
0 files changed, 0 insertions, 0 deletions