Does anyone know of a repository with corrupt zip files suitable for testing? In particular I'm hoping to trigger "all" of the various exceptions the Python zlib and zipfile modules can generate.
[I'm not familiar with this type of SF e-mail address, so I'm cc'ing Chris
directly just in case.]
Hi folks, long time no see. ;-)
Does anyone know of a repository with corrupt zip files
suitable for testing? In particular I'm hoping to trigger "all"
of the various exceptions the Python zlib and zipfile modules
can generate.
Once upon a time I believe we had at least a handful of corrupted zipfiles
buried in the beta subdir on the old ftp site, but I don't think that got
resurrected, and I don't remember how many bad ones were actually in there.
(Some were tests of other things, like the zipfile full of 256 case-sensitive
Makefile/makefile/MAkefile/mAkefile/... variants or the one(s) with mis-
matched local- and central-dir filenames.)
I'll try to remember to check the tarball (assuming I can still find it),
but I don't think there were a lot of bad-compression examples in there.
I have a lot more bad PNG files...
Greg
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
[I'm not familiar with this type of SF e-mail address, so I'm cc'ing Chris
directly just in case.]
Once upon a time I believe we had at least a handful of corrupted zipfiles
buried in the beta subdir on the old ftp site, but I don't think that got
resurrected, and I don't remember how many bad ones were actually in there.
(Some were tests of other things, like the zipfile full of 256 case-sensitive
Makefile/makefile/MAkefile/mAkefile/... variants or the one(s) with mis-
matched local- and central-dir filenames.)
I'll try to remember to check the tarball (assuming I can still find it),
but I don't think there were a lot of bad-compression examples in there.
I have a lot more bad PNG files...
Greg