Merge to XFA: 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:57:18 +0000 (14:57 -0700)
commit6ecf19ced0de2d41720b4067171e751ca38c8ba2
treee914297d0d65560ecb71a23d76f7361d39f8fb47
parente42655964be98606d8832e816f05efbb34b42b42
Merge to XFA: 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