From: Tobias Geerinckx-Rice Date: Thu, 28 Feb 2019 20:29:00 +0100 Subject: [PATCH] netpbm: Fix CVE-2017-2587. Copied verbatim from Debian[0]. [0]: https://sources.debian.org/data/main/n/netpbm-free/2:10.78.05-0.1/debian/patches/netpbm-CVE-2017-2587.patch --- diff -urNp old/converter/other/svgtopam.c new/converter/other/svgtopam.c --- old/converter/other/svgtopam.c 2017-02-08 12:11:02.593690917 +0100 +++ new/converter/other/svgtopam.c 2017-02-08 13:49:38.319029371 +0100 @@ -771,12 +771,17 @@ createCanvas(unsigned int const width, MALLOCVAR_NOFAIL(canvasP); - canvasP->width = width; - canvasP->height = height; - canvasP->pixels = ppm_allocarray(width, height); - canvasP->maxval = maxval; + if(canvasP != NULL){ + canvasP->width = width; + canvasP->height = height; + canvasP->pixels = ppm_allocarray(width, height); + canvasP->maxval = maxval; + + *canvasPP = canvasP; + } else { + pm_error("can't allocate memory for canvas"); + } - *canvasPP = canvasP; } href='/guix/'>summaryrefslogtreecommitdiff
path: root/etc/source-manifest.scm
ybox): Update to 1.36.1. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
AgeCommit message (Expand)Author
2021-09-14etc: Add 'source-manifest.scm'....* etc/source-manifest.scm: New file. * Makefile.am (EXTRA_DIST): Add it. Ludovic Courtès
Hilton Chain
2023-02-02gnu: busybox: Update to 1.36.0....* gnu/packages/busybox.scm (busybox): Update to 1.36.0. Efraim Flashner
2022-11-06gnu: busybox: Update to 1.35.0....* gnu/packages/busybox.scm (busybox): Update to 1.35.0. Signed-off-by: Christopher Baines <mail@cbaines.net> Hilton Chain
2022-09-26gnu: busybox: Fix cross-compilation....* gnu/packages/busybox.scm (busybox)[arguments]: Switch to gexps. Honor #:tests? in 'check' phase. Add #:make-flags. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Lu Hui