[New-bugs-announce] [issue3830] Tarfile has incorrect USTAR "VERSION" field (should be 00; is 0 NUL)
SunriseProgrammer
report at bugs.python.org
Thu Sep 11 00:32:48 CEST 2008
New submission from SunriseProgrammer <peterdanielsmith at gmail.com>:
The 'tarfile' object make incorrect header blocks. There's a USTAR
'MAGIC' string that's supposed to be followed by a version; that version
is supposed to be two '0' (digit zero -- ascii 48) chars with no NUL
padding at all.
Python 2.4.3 has it correct. Later versions (e.g., 2.5) are carefully
making the field NUL terminated -- but that's wrong; they aren't
supposed to be.
File History:
'tarfile.py' was correct in version 41340 and incorrect in version 45954
----------
components: Library (Lib)
messages: 72993
nosy: SunriseProgrammer
severity: normal
status: open
title: Tarfile has incorrect USTAR "VERSION" field (should be 00; is 0 NUL)
type: behavior
versions: Python 2.4, Python 2.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3830>
_______________________________________
More information about the New-bugs-announce
mailing list