You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. opj_compress .... -n 0
What is the expected output? What do you see instead?
I expect to be warned that number of resolutions should be a positive number greater
than 1. What I actually see is a crash.
What version of the product are you using? On what operating system?
I am using the latest "trunk" on windows.
Please provide any additional information below.
Attached patch adds checks on resolution in the library (not in opj_compress itself,
fails "slowly" but it's safer to add there as it might not show up if opj_compress
does the check).
There also were crash for values > 31 (32 & 33 are said to be valid in the ISO15444-1
but check against tile size was not failing as it should)
Verified against test suite, no regression
Originally reported on Google Code with ID 352
Reported by boxerab on 2014-05-28 19:40:32
The text was updated successfully, but these errors were encountered: