diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2017-09-06 17:33:38 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2017-09-06 17:33:38 +0200 |
| commit | c67e1cd73f6c1fca081f5445af4f65b240c40edc (patch) | |
| tree | 4c263ea039b8d60f52390d06b7e038a9d7067294 /src/lib/openjp2/jp2.c | |
| parent | 297f202104fc0ff6b0627e15e7e6883c915f80bf (diff) | |
Fix invalid access out of bounds, and bad behaviour, when calling repeatdly opj_get_decoded_tile() on an image with a color palette
Diffstat (limited to 'src/lib/openjp2/jp2.c')
| -rw-r--r-- | src/lib/openjp2/jp2.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/openjp2/jp2.c b/src/lib/openjp2/jp2.c index 372b2130..c747c909 100644 --- a/src/lib/openjp2/jp2.c +++ b/src/lib/openjp2/jp2.c @@ -1141,8 +1141,6 @@ static OPJ_BOOL opj_jp2_apply_pclr(opj_image_t *image, image->comps = new_comps; image->numcomps = nr_channels; - opj_jp2_free_pclr(color); - return OPJ_TRUE; }/* apply_pclr() */ |
