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/gnu/packages/racket.scm
AgeCommit message (Expand)Author
2023-09-08gnu: racket: Declare OpenSSL search paths....Otherwise, OpenSSL used via Racket fails to find certificates, e.g. when attempting to run 'raco pkg install'. Fixes <https://racket.discourse.group/t/2206/8>. * gnu/packages/racket.scm (racket-minimal)[native-search-paths]: Add $SSL_CERT_DIR and $SSL_CERT_FILE. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Philip McGrath
2023-09-08gnu: racket: Update to 8.10....* gnu/packages/patches/racket-rktboot-riscv64-support.patch: Move to ... * gnu/packages/patches/racket-backport-8.10-rktboot.patch: ... this file, together with a related upstreamed patch. * gnu/local.mk (dist_patch_DATA): Update accordingly. * gnu/packages/racket/scm (%racket-origin)[patches]: Likewise. (%racket-version): Update to 8.10. (racket)[inputs]<data, deinprogramm, drracket, gui, htdp, math> <net-cookies, pict, plot, racklog, redex, scribble, slideshow, snip> <typed-racket, string-constants, syntax-color, web-server>: Update hashes. * gnu/packages/chez.scm (chez-scheme-for-racket): Update to 9.9.9-pre-release.17. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Philip McGrath
2023-07-21chez-sheme-for-racket: Fix building on riscv64-linux....* gnu/packages/racket.scm (%racket-origin): Add patch. * gnu/packages/patches/racket-rktboot-riscv64-support.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. Efraim Flashner
2023-07-14gnu: racket: Update to 8.9....* gnu/packages/chez.scm (chez-scheme-for-racket): Update to 9.9.9-pre-release.16. * gnu/packages/racket.scm (%racket-version): Update to 8.9. (racket)[inputs]<deinprogramm, draw, drracket, future-visualizer, gui> <htdp, macro-debugger, math, pict, plot, rackunit, redex, scribble> <slideshow, snip, typed-racket, srfi, swindle, syntax-color> <web-server>: Update checksums. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Philip McGrath