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.

Author vstinner
Recipients Dan “locallycompact” Firth, Decorater, lars.gustaebel, serhiy.storchaka, vstinner
Date 2016-11-29.12:02:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1480420949.6.0.818847056511.issue28831@psf.upfronthosting.co.za>
In-reply-to
Content
An entry in a TAR archive has a name. The name field has a size of 100 bytes. The field is padded with zero bytes. I don't know if it must or must not end with a zero byte.

'/usr/share/ca-certificates/mozilla/TÜBİTAK_UEKAE_Kök_Sertifika_Hizmet_Sağlayıcısı_-_Sürüm_3.crt' string encoded to UTF-8 takes 104 bytes.

Python should emit a warning or even fail with an error if a name is longer than 100 *bytes* (not 100 *characters*).
History
Date User Action Args
2016-11-29 12:02:29vstinnersetrecipients: + vstinner, lars.gustaebel, serhiy.storchaka, Decorater, Dan “locallycompact” Firth
2016-11-29 12:02:29vstinnersetmessageid: <1480420949.6.0.818847056511.issue28831@psf.upfronthosting.co.za>
2016-11-29 12:02:29vstinnerlinkissue28831 messages
2016-11-29 12:02:29vstinnercreate