unarchive 448437
reopen 448437
thanks

Filename escaping in unp is still incomplete:

$ rar a test.rar /etc/motd
$ dd if=test.rar of=broken\ archive.rar count=1 bs=50
$ unp broken\ archive.rar

RAR 3.71   Copyright (c) 1993-2007 Alexander Roshal   20 Sep 2007
Shareware version         Type RAR -? for help

 - the file header is corrupt

Extracting from broken archive.rar

 - the file header is corrupt
Cannot create 
No such file or directory
WARNING: Attempting to correct the invalid file name
Cannot create 
No such file or directory
Unexpected end of archive
No files to extract
broken archive.rar - unknown extension, checking with file
ar: broken: No such file or directory
---

Notice how in the first run, rar is given the correct filename, whereas
in the second try (unp shouldn't try rar again if it didn't work in
first place, but that's a different bug) after guessing the file type
with "file" it doesn't properly escape the filename.

best regards,
Erich Schubert
-- 
     erich@(vitavonni.de|debian.org)    --    GPG Key ID: 4B3A135C     (o_
       The future is here. It's just not evenly distributed yet.       //\
Freundschaft vermehrt die Freuden und teilt das Leid. --- Henry G. BohnV_/_




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to