Skip to content

Commit

Permalink
Fixed an array overflow problem in the JPC decoder.
Browse files Browse the repository at this point in the history
  • Loading branch information
mdadams committed Nov 20, 2016
1 parent 71bbf41 commit 1abc2e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libjasper/jpc/jpc_dec.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1abc2e5

Please sign in to comment.