summaryrefslogtreecommitdiff
path: root/wrapping/java/openjp2/org_openJpeg_OpenJPEGJavaEncoder.h
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2020-06-23 02:18:19 +0800
committerSebastian Rasmussen <sebras@gmail.com>2020-06-23 02:32:31 +0800
commit93b9f7236ce09614ea5edcb0f616f1b4095c4830 (patch)
tree05739363b89eff8a8e263b3f305258ff049b0e31 /wrapping/java/openjp2/org_openJpeg_OpenJPEGJavaEncoder.h
parent25fb144c42f97489594302e1e6ff886791e0a5b3 (diff)
openjp2: Error out if failing to create Tier 1 handle.
Previously when the handle failed to be created (e.g. when opj_calloc returned NULL due to low memory), the code still assumed that the t1 handle pointer was valid and dereferenced NULL, causing a crash. After this commit OpenJPEG will instead error out under this condition. This fixes issue #1255.
Diffstat (limited to 'wrapping/java/openjp2/org_openJpeg_OpenJPEGJavaEncoder.h')
0 files changed, 0 insertions, 0 deletions