GNU bug report logs - #64686
30.0.50; Tar mode @PaxHeader bug

Previous Next

Package: emacs;

Reported by: Devon Sean McCullough <emacs-hacker2017 <at> jovi.net>

Date: Mon, 17 Jul 2023 18:33:02 UTC

Severity: normal

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Mattias EngdegÄrd <mattias.engdegard <at> gmail.com>
To: Basil Contovounesios <contovob <at> tcd.ie>
Cc: Eli Zaretskii <eliz <at> gnu.org>, Devon Sean McCullough <emacs-hacker2017 <at> jovi.net>, Stefan Monnier <monnier <at> iro.umontreal.ca>, 64686 <at> debbugs.gnu.org
Subject: bug#64686: 30.0.50; Tar mode @PaxHeader bug 
Date: Fri, 28 Jul 2023 13:47:39 +0200
> Thanks, but doesn't tar-parse-pax-extended-header mutate tar-attr-vector, which is initialised with a constant vector?

Good catch. Little chance of detecting this one statically I'm afraid.

The patch is fine, but maybe we should return a fresh vector each time instead of reusing a single global object.





This bug report was last modified 1 year and 296 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.