Fix CVE-2018-1000097: https://security-tracker.debian.org/tracker/CVE-2018-1000097 https://nvd.nist.gov/vuln/detail/CVE-2018-1000097 Patch taken from upstream bug report: https://lists.gnu.org/archive/html/bug-gnu-utils/2018-02/msg00005.html diff --git a/src/unshar.c b/src/unshar.c index 80bc3a9..0fc3773 100644 --- a/src/unshar.c +++ b/src/unshar.c @@ -240,7 +240,7 @@ find_archive (char const * name, FILE * file, off_t start) off_t position = ftello (file); /* Read next line, fail if no more and no previous process. */ - if (!fgets (rw_buffer, BUFSIZ, file)) + if (!fgets (rw_buffer, rw_base_size, file)) { if (!start) error (0, 0, _("Found no shell commands in %s"), name); d79c8c1bc802414'/> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/gdm-pass-gdk-pixbuf-loader-env.patch
ix Lechner
AgeCommit message (Expand)Author
Thanks to Bruno Victal "mirai" for cooperating on this patch and for generously sharing a wealth of insights about Guix services. Thanks to Jean-Baptiste Note for an early version of this service! * doc/guix.texi (Linux Services)[Cachefilesd Service]: New heading. * gnu/services/linux.scm (serialize-string, non-negative-integer?) (serialize-non-negative-integer, string, non-negative-integer) (make-option-serializer, make-percentage-threshold-serializer): New procedures. (cachefilesd-configuration): New record type. (cachefilesd-service-type): New variable. * gnu/tests/cachefilesd.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. Co-authored-by: Bruno Victal <mirai@makinata.eu> Signed-off-by: Ludovic Courtès <ludo@gnu.org>