opencv/3rdparty/openjpeg/openjp2
Alex a2fc479c0b
Fix Heap-buffer-overflow READ in opj_jp2_apply_pclr
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47342

The read overflow triggered by reading `src[j]` in
```cpp
            for (j = 0; j < max; ++j) {
                dst[j] = src[j];
            }
```
The max is calculated as `new_comps[pcol].w * new_comps[pcol].h`, however the `src = old_comps[cmp].data;` which may have different `w` and `h` dimensions.
2022-12-30 15:43:41 +00:00
..
bio.c 3rdparty: add OpenJPEG library source code (tag v2.3.1) 2020-09-02 20:17:01 +00:00
bio.h 3rdparty: add OpenJPEG library source code (tag v2.3.1) 2020-09-02 20:17:01 +00:00
cio.c 3rdparty: add OpenJPEG library source code (tag v2.3.1) 2020-09-02 20:17:01 +00:00
cio.h 3rdparty: add OpenJPEG library source code (tag v2.3.1) 2020-09-02 20:17:01 +00:00
CMakeLists.txt Disabled compiling warnings in case of symbols in cmake for 4.x 2022-09-20 13:35:48 +03:00
dwt.c 3rdparty: update openjpeg 2.3.1 => 2.4.0 2021-03-01 23:56:13 +00:00
dwt.h 3rdparty: update openjpeg 2.3.1 => 2.4.0 2021-03-01 23:56:13 +00:00
event.c 3rdparty: add OpenJPEG library source code (tag v2.3.1) 2020-09-02 20:17:01 +00:00
event.h 3rdparty: add OpenJPEG library source code (tag v2.3.1) 2020-09-02 20:17:01 +00:00
function_list.c 3rdparty: add OpenJPEG library source code (tag v2.3.1) 2020-09-02 20:17:01 +00:00
function_list.h 3rdparty: add OpenJPEG library source code (tag v2.3.1) 2020-09-02 20:17:01 +00:00
image.c 3rdparty: add OpenJPEG library source code (tag v2.3.1) 2020-09-02 20:17:01 +00:00
image.h 3rdparty: add OpenJPEG library source code (tag v2.3.1) 2020-09-02 20:17:01 +00:00
invert.c 3rdparty: add OpenJPEG library source code (tag v2.3.1) 2020-09-02 20:17:01 +00:00
invert.h 3rdparty: add OpenJPEG library source code (tag v2.3.1) 2020-09-02 20:17:01 +00:00
j2k.c 3rdparty: update openjpeg 2.3.1 => 2.4.0 2021-03-01 23:56:13 +00:00
j2k.h 3rdparty: update openjpeg 2.3.1 => 2.4.0 2021-03-01 23:56:13 +00:00
jp2.c Fix Heap-buffer-overflow READ in opj_jp2_apply_pclr 2022-12-30 15:43:41 +00:00
jp2.h 3rdparty: update openjpeg 2.3.1 => 2.4.0 2021-03-01 23:56:13 +00:00
mct.c 3rdparty: update openjpeg 2.3.1 => 2.4.0 2021-03-01 23:56:13 +00:00
mct.h 3rdparty: update openjpeg 2.3.1 => 2.4.0 2021-03-01 23:56:13 +00:00
mqc_inl.h 3rdparty: update openjpeg 2.3.1 => 2.4.0 2021-03-01 23:56:13 +00:00
mqc.c 3rdparty: update openjpeg 2.3.1 => 2.4.0 2021-03-01 23:56:13 +00:00
mqc.h 3rdparty: update openjpeg 2.3.1 => 2.4.0 2021-03-01 23:56:13 +00:00
openjpeg.c 3rdparty: update openjpeg 2.3.1 => 2.4.0 2021-03-01 23:56:13 +00:00
openjpeg.h 3rdparty: update openjpeg 2.3.1 => 2.4.0 2021-03-01 23:56:13 +00:00
opj_clock.c 3rdparty: add OpenJPEG library source code (tag v2.3.1) 2020-09-02 20:17:01 +00:00
opj_clock.h 3rdparty: add OpenJPEG library source code (tag v2.3.1) 2020-09-02 20:17:01 +00:00
opj_codec.h 3rdparty: update openjpeg 2.3.1 => 2.4.0 2021-03-01 23:56:13 +00:00
opj_common.h 3rdparty: update openjpeg 2.3.1 => 2.4.0 2021-03-01 23:56:13 +00:00
opj_config_private.h.cmake.in 3rdparty: add OpenJPEG library source code (tag v2.3.1) 2020-09-02 20:17:01 +00:00
opj_config.h.cmake.in 3rdparty: add OpenJPEG library source code (tag v2.3.1) 2020-09-02 20:17:01 +00:00
opj_includes.h 3rdparty: add OpenJPEG library source code (tag v2.3.1) 2020-09-02 20:17:01 +00:00
opj_intmath.h 3rdparty: update openjpeg 2.3.1 => 2.4.0 2021-03-01 23:56:13 +00:00
opj_inttypes.h 3rdparty: add OpenJPEG library source code (tag v2.3.1) 2020-09-02 20:17:01 +00:00
opj_malloc.c 3rdparty: add OpenJPEG library source code (tag v2.3.1) 2020-09-02 20:17:01 +00:00
opj_malloc.h 3rdparty: add OpenJPEG library source code (tag v2.3.1) 2020-09-02 20:17:01 +00:00
opj_stdint.h 3rdparty: add OpenJPEG library source code (tag v2.3.1) 2020-09-02 20:17:01 +00:00
pi.c 3rdparty: update openjpeg 2.3.1 => 2.4.0 2021-03-01 23:56:13 +00:00
pi.h 3rdparty: update openjpeg 2.3.1 => 2.4.0 2021-03-01 23:56:13 +00:00
sparse_array.c 3rdparty: add OpenJPEG library source code (tag v2.3.1) 2020-09-02 20:17:01 +00:00
sparse_array.h 3rdparty: add OpenJPEG library source code (tag v2.3.1) 2020-09-02 20:17:01 +00:00
t1_luts.h 3rdparty: add OpenJPEG library source code (tag v2.3.1) 2020-09-02 20:17:01 +00:00
t1.c 3rdparty: update openjpeg 2.3.1 => 2.4.0 2021-03-01 23:56:13 +00:00
t1.h 3rdparty: update openjpeg 2.3.1 => 2.4.0 2021-03-01 23:56:13 +00:00
t2.c 3rdparty: update openjpeg 2.3.1 => 2.4.0 2021-03-01 23:56:13 +00:00
t2.h 3rdparty: update openjpeg 2.3.1 => 2.4.0 2021-03-01 23:56:13 +00:00
tcd.c 3rdparty: update openjpeg 2.3.1 => 2.4.0 2021-03-01 23:56:13 +00:00
tcd.h 3rdparty: update openjpeg 2.3.1 => 2.4.0 2021-03-01 23:56:13 +00:00
tgt.c 3rdparty: add OpenJPEG library source code (tag v2.3.1) 2020-09-02 20:17:01 +00:00
tgt.h 3rdparty: add OpenJPEG library source code (tag v2.3.1) 2020-09-02 20:17:01 +00:00
thread.c 3rdparty: add OpenJPEG library source code (tag v2.3.1) 2020-09-02 20:17:01 +00:00
thread.h 3rdparty: add OpenJPEG library source code (tag v2.3.1) 2020-09-02 20:17:01 +00:00
tls_keys.h 3rdparty: add OpenJPEG library source code (tag v2.3.1) 2020-09-02 20:17:01 +00:00