-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When bitmashing, jpylyzer sometimes breaks #31
Comments
Just had a first look at some of your files. The ones I checked out fall into either one of these 2 categories:
Solution: impose sensible upper limit here as well. Already did a quick test, and this resulted in the secondary problem:
Solution: add long type to remap function in ETpatch, i.e.: Then there's the endless loop in cc-16-kdu.jp2-killed-22181, will look at that later. I'll fix this in the next release + I'll also run tests on the full set of files. |
Fixed in version 1.10.3. These were actually 3 separate issues:
|
In case anyone wants to take this kind of tools testing/analysis further, here's a link to my write-up of this technique: Understanding Tools & Formats Via Bitwise Analysis |
Some malformed (deliberately bit-flipped) JP2s appear to make jpylyzer hang. e.g. cc-16-kdu.jp2-killed-10918 runs for a long time and then stops, outputting simply 'Killed'.
More interestingly, cc-16-kdu.jp2-killed-22181 appears to cause an infinite loop:
There may be further interesting modes of failure hidden in the other examples I have. I'll see about attaching them... Seems I cannot - so I uploaded the zip of fails here: https://dl.dropbox.com/u/135740/cc-16-kdu-hangs.zip
The text was updated successfully, but these errors were encountered: