summaryrefslogtreecommitdiff
path: root/wrapping/java/openjp2/JavaOpenJPEGDecoder.c
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2021-07-12 15:31:28 +0200
committerSebastian Rasmussen <sebras@gmail.com>2021-07-12 15:32:39 +0200
commite0993d072a0cd8c60d9babd30c58320f13eff867 (patch)
tree72223dce1369433fb6f4c1948e58b33a5462393f /wrapping/java/openjp2/JavaOpenJPEGDecoder.c
parent00beb209531cc258b71f81653299dcadd880b0aa (diff)
opj_j2k_is_imf_compliant: Fix out of bounds access.
Previously when mainlevel was parsed == 12 openjpeg would generate a warning, but then the sublevel value would be compared to an out of bounds element in the tabMaxSubLevelFromMainLevel array. From this commit OpenJPEG will only use mainlevel if in range.
Diffstat (limited to 'wrapping/java/openjp2/JavaOpenJPEGDecoder.c')
0 files changed, 0 insertions, 0 deletions