[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-tar] Bad filenames cause tar to produce bad pax archives
From: |
Lars Gustäbel |
Subject: |
[Bug-tar] Bad filenames cause tar to produce bad pax archives |
Date: |
Thu, 6 May 2010 09:53:06 +0200 |
User-agent: |
Mutt/1.5.19 (2009-01-05) |
Hello!
I noticed that tar with the --format=pax option will produce invalid archives
when it encounters filenames that it cannot convert from the user's charset to
utf8. In src/xheader.c the function code_string simply copies the input string
to the output string in event of an error during utf8_convert. The problem
seems to be known - there is a FIXME tag in the comment. However, I'd favor the
solution from the comment (report an error) instead of silently producing a
corrupt archive.
Regards,
--
Lars Gustäbel
address@hidden
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth.
(Umberto Eco)
- [Bug-tar] Bad filenames cause tar to produce bad pax archives,
Lars Gustäbel <=