There is a NULL pointer access in the imagetopnm function of convert.c:1943(jp2) of OpenJPEG 2.1.2. image->comps[compno].data is not assigned a value after initialization(NULL) which is leading to an application crash.
There is a NULL pointer access in the imagetopnm function of convert.c:1943(jp2) of OpenJPEG 2.1.2. image->comps[compno].data is not assigned a value after initialization(NULL) which is leading to an application crash.
https://github.com/uclouvain/openjpeg/issues/857