diff options
| author | Karol Babioch <kbabioch@suse.de> | 2018-03-02 14:40:58 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2018-09-22 23:12:39 +0200 |
| commit | cc3824767bde397fedb8a1ae4786a222ba860c8d (patch) | |
| tree | 3701a8a50716ec772f11ff19e52090a7e1fc74b2 /src/lib | |
| parent | 564fbfb67830e2eb234bc16b3db8fecf54261f95 (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
