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); szko' selected='selected'>koszko Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/tests/graph.scm
AgeCommit message (Expand)Author
2023-08-21tests: Adjust 'node-back-edges' test for 'bag' to system-dependent glibc....Ludovic Courtès
2023-04-07gnu: Purge pre-1.3.0 deprecated packages....Bruno Victal
2022-10-22Remove now unnecessary uses of (guix grafts)....Ludovic Courtès
2022-07-01tests: Adjust 'guix graph' test to latest OCaml changes....Ludovic Courtès
2022-02-05tests: Assert that cyclic graphs can be produced....Liliana Marie Prikler