This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Tarfile - Fixed GNU tar header base-256 handling
Type: crash Stage: resolved
Components: Library (Lib) Versions: Python 3.2
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: lars.gustaebel Nosy List: canto, lars.gustaebel
Priority: normal Keywords:

Created on 2012-02-03 18:56 by canto, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg152550 - (view) Author: Oskar Wycislak (canto) Date: 2012-02-03 18:56
On line 199 in tarfile.py comparison should be done without chr() because s[0] is an integer.
Also on line 208 there should be no ord() for the same reason.

I think this is fixed in Python 3.3

I'm sorry for not providing a patch but it's late and I do not have mercurial installed.
msg152599 - (view) Author: Lars Gustäbel (lars.gustaebel) * (Python committer) Date: 2012-02-04 08:15
This has been fixed (issue13158, http://hg.python.org/cpython/rev/341008eab87d). Thanks anyway for the report.
History
Date User Action Args
2022-04-11 14:57:26adminsetgithub: 58143
2012-02-04 08:15:30lars.gustaebelsetstatus: open -> closed
resolution: duplicate
messages: + msg152599

stage: resolved
2012-02-04 07:46:16lars.gustaebelsetassignee: lars.gustaebel

nosy: + lars.gustaebel
2012-02-03 18:56:30cantocreate