openjpeg
openjpeg copied to clipboard
UB in ht_dec.c opj_t1_ht_decode_cblk - memcpy invoked on NULL pointer
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.