uclouvain/openjpeg

UB in ht_dec.c opj_t1_ht_decode_cblk - memcpy invoked on NULL pointer

pauldreik opened this issue · 1 comments

Using ubsan and afl, I found that memcpy can be invoked on a null pointer, which is undefined behaviour.

See #1442 for code to reproduce it.

likely duplicate of #1492