Fix Heap Overflow in CJBig2_Image::expand
authorJUN FANG <jun_fang@foxitsoftware.com>
Tue, 19 May 2015 21:44:13 +0000 (14:44 -0700)
committerJUN FANG <jun_fang@foxitsoftware.com>
Tue, 19 May 2015 21:44:13 +0000 (14:44 -0700)
commit59f4b44d1fbb259967ea518e0bf5fa76b0cc9767
treea1d6336676d6d70467a7fb94aa0e625b1dbc8c25
parent3b60890f6ee807a8bfc44056443f77603c23e6b0
Fix Heap Overflow in CJBig2_Image::expand

Integer overflow in CJBig2_Image::expand.
It causes the size of reallocated is not
expected.

BUG=483981
R=tsepez@chromium.org

Review URL: https://codereview.chromium.org/1131023008
core/src/fxcodec/jbig2/JBig2_Image.cpp