Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
opj_mj2_extract: Check provided output prefix for length
This uses snprintf() with correct buffer length instead of sprintf(), which prevents a buffer overflow when providing a long output prefix. Furthermore the program exits with an error when the provided output prefix is too long. Fixes #1088.
- Loading branch information