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
Maliciously constructed pictures can cause the program to enter a large loop and continuously print warning messages on the terminal.
Expected behavior and actual behavior.
Program file format error, parsing failed~
But the program enters a big loop and keeps printing in the terminal:
...
[WARNING] Not enough space for expected EPH marker
[WARNING] Not enough space for expected SOP marker
[WARNING] Not enough space for expected EPH marker
[WARNING] Not enough space for expected SOP marker
[WARNING] Not enough space for expected EPH marker
[WARNING] Not enough space for expected SOP marker
[WARNING] Not enough space for expected EPH marker
[WARNING] Not enough space for expected SOP marker
...
I tested it with ubuntu, and the program ran for more than 4 hours.
Maliciously constructed pictures can cause the program to enter a large loop and continuously print warning messages on the terminal.
Expected behavior and actual behavior.
Program file format error, parsing failed~
But the program enters a big loop and keeps printing in the terminal:
I tested it with ubuntu, and the program ran for more than 4 hours.
Steps to reproduce the problem.
the poc is here
Run:
opj_decompress -i bigloop -o te.raw
Maybe the memory must be at least greater than 8g to ensure successful reproduction.
Operating system
Ubuntu, macos, windows are all available
openjpeg version
OpenJPEG 2.5.0
The text was updated successfully, but these errors were encountered: