[trunk]fixes buffer overflow in t2.c
authorAntonin Descampe <antonin@gmail.com>
Fri, 3 Oct 2014 10:15:28 +0000 (10:15 +0000)
committerAntonin Descampe <antonin@gmail.com>
Fri, 3 Oct 2014 10:15:28 +0000 (10:15 +0000)
commit48832d944f25b6e8f81c44ce2f2b780ab6a53f7c
tree3ea432099d6a63956ac353499b4df44276a0f1ea
parent06bd61b571aa82f65b8c2b6f2c3330a2e712dcfe
[trunk]fixes buffer overflow in t2.c

Update issue 390
Summary: check for negative-size params in code
Patch from Matthieu applied. Left open to apply this to other places in
code.
src/lib/openjp2/t2.c