summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorKarol Babioch <kbabioch@suse.de>2018-03-02 14:40:58 +0100
committerEven Rouault <even.rouault@spatialys.com>2018-09-22 23:12:39 +0200
commitcc3824767bde397fedb8a1ae4786a222ba860c8d (patch)
tree3701a8a50716ec772f11ff19e52090a7e1fc74b2 /src/lib
parent564fbfb67830e2eb234bc16b3db8fecf54261f95 (diff)
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.
Diffstat (limited to 'src/lib')
0 files changed, 0 insertions, 0 deletions