Title: Tarfile has incorrect USTAR "VERSION" field (should be 00; is 0 NUL)
Type: behavior Stage:
Components: Library (Lib) Versions: Python 2.4, Python 2.5
Status: closed Resolution: works for me
Dependencies: Superseder:
Assigned To: lars.gustaebel Nosy List: SunriseProgrammer, lars.gustaebel
Priority: normal Keywords:

Created on 2008-09-10 22:32 by SunriseProgrammer, last changed 2008-09-11 08:34 by lars.gustaebel. This issue is now closed.

Messages (2)
msg72993 - (view) Author: SunriseProgrammer (SunriseProgrammer) Date: 2008-09-10 22:32
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:
'' was correct in version 41340 and incorrect in version 45954
msg73009 - (view) Author: Lars Gustäbel (lars.gustaebel) * (Python committer) Date: 2008-09-11 08:34
This problem existed only in the first 2.5 release.
Date User Action Args
2008-09-11 08:34:21lars.gustaebelsetstatus: open -> closed
resolution: works for me
messages: + msg73009
2008-09-10 22:38:37benjamin.petersonsetassignee: lars.gustaebel
nosy: + lars.gustaebel
2008-09-10 22:32:48SunriseProgrammercreate