projects
/
openjpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[trunk] added check for tile component data size overflow (fixes issue 432)
[openjpeg.git]
/
src
/
lib
/
openjp2
/
pi.c
diff --git
a/src/lib/openjp2/pi.c
b/src/lib/openjp2/pi.c
index 62eeb39c030e0b82ceab97cc4e063ceede8dcd12..65ff6263e0db17fc39ae53a9fab2d4ca47c968c5 100644
(file)
--- a/
src/lib/openjp2/pi.c
+++ b/
src/lib/openjp2/pi.c
@@
-1105,7
+1105,8
@@
OPJ_BOOL opj_pi_check_next_level( OPJ_INT32 pos,
break;
case 'P':
switch(tcp->prg){
- case OPJ_LRCP||OPJ_RLCP:
+ case OPJ_LRCP: /* fall through */
+ case OPJ_RLCP:
if(tcp->prc_t == tcp->prcE){
if(opj_pi_check_next_level(i-1,cp,tileno,pino,prog)){
return OPJ_TRUE;