Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> ZIP files that are prefixed by random garbage can still be extracted by unzip but fail to be recognized by a parser that conforms to the format specification

To be fair, the ability to stick a ZIP file at the end of any other kind of file enables all sorts of neat tricks (like the old self-extracting zips).



That's because zip files are read from the end.


And this is in fact what the spec lays out, contrary to the quote from the paper. The PK header is a convention. Conforming parsers don't require it, but lazy implementations often do. This has led to more than one security incident over the years.


Yeah and PK is the signature per record - it's not a file header. Did these guys read the format specification at all?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: