-
Notifications
You must be signed in to change notification settings - Fork 468
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
Fix #612 #770
Fix #612 #770
Conversation
The test for bpno > 0 dates back to the early days, and appeared in
The available history does not go further in the past. |
Looks like a 13 year old bug :) Surprising. |
My knowledge doesn't go that far... @detonin, any idea ? |
I've started investigated this bypass and restart problem and created a branch for this: https://github.com/uclouvain/openjpeg/tree/fix-bypass-restart |
More specifically, part of the problem comes from these lines: The FF-bytes management is something quite tricky in JPEG 2000 and the additional arithmetic coder termination brought by the BYPASS and RESTART modes can interfere with the way FF-bytes are usually managed (i.e. removed if they are the last bytes of a coding pass). |
Fixed per #949 |
Works for me under MemorySanitizer