I got the following report by email:
I have downloaded the latest version of rubyzip 0.9.1 and I want to decompress a self extracting zip file (SFX). I however get the error "Zip consistency problem while reading eocd structure".
I added some more info to the exception and found the reason. Apparently the SFX adds some extra data to the end of the file, and the comment length field does not cover this, so the buf variable is not empty, and the error is raised in line 1213 of zip.rb.
I am sure that you have a good reason for the consistency check, but it could be nice to have the option to disable it.