jianlinwei / theunarchiver

Automatically exported from code.google.com/p/theunarchiver
Other
0 stars 0 forks source link

[unar] Crash on file with Finder label #674

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
On Windows, unar will crash when extracting a file that has been given a 
coloured label in Finder. Seems to be specifically caused by the extended 
attribute named "com.apple.metadata:kMDLabel_" followed by some weird string of 
characters which somehow corresponds to the label colour. Not quite sure why 
this xattr even exists (since the label flags are stored in the FinderInfo) but 
it is only applied to files - a folder with a coloured label does not have this 
xattr and will extract fine.

Original issue reported on code.google.com by andrew...@gmail.com on 19 Jun 2013 at 9:38

Attachments:

GoogleCodeExporter commented 9 years ago
Actually I think it might be crashing on any xattr that isn't FinderInfo or 
ResourceFork.

Original comment by andrew...@gmail.com on 21 Jun 2013 at 9:55

GoogleCodeExporter commented 9 years ago
Yup. Fixed now. Was a missing method in Cocotron.

Original comment by paracel...@gmail.com on 17 Sep 2013 at 9:08