Skip to content
Permalink
Browse files

Fixed an array overflow problem in the JPC decoder.

  • Loading branch information...
mdadams committed Nov 20, 2016
1 parent 71bbf41 commit 1abc2e5a401a4bf1d5ca4df91358ce5df111f495
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/libjasper/jpc/jpc_dec.c
@@ -712,7 +712,7 @@ static int jpc_dec_tileinit(jpc_dec_t *dec, jpc_dec_tile_t *tile)
uint_fast32_t tmpxend;
uint_fast32_t tmpyend;
jpc_dec_cp_t *cp;
jpc_tsfb_band_t bnds[64];
jpc_tsfb_band_t bnds[JPC_MAXBANDS];
jpc_pchg_t *pchg;
int pchgno;
jpc_dec_cmpt_t *cmpt;

0 comments on commit 1abc2e5

Please sign in to comment.
You can’t perform that action at this time.