Guard against null image data in CJBig2_GRRDProc.
authorLei Zhang <thestig@chromium.org>
Thu, 10 Sep 2015 23:13:31 +0000 (16:13 -0700)
committerLei Zhang <thestig@chromium.org>
Thu, 10 Sep 2015 23:13:31 +0000 (16:13 -0700)
commit89d8b4681ce98894a1ee1a6cf4bae77e00d28797
tree352f1ff0bab0f1f812f256c74423aeac5db95e59
parent70f4404e9a9e69afdfdd07715aa946f6561ce0cb
Guard against null image data in CJBig2_GRRDProc.

Credit to karl at skomski.com for the initial version of the CL.

BUG=527174
R=tsepez@chromium.org

Review URL: https://codereview.chromium.org/1305033006 .
core/src/fxcodec/jbig2/JBig2_Context.cpp
core/src/fxcodec/jbig2/JBig2_GeneralDecoder.cpp
testing/resources/pixel/bug_527174.in [new file with mode: 0644]
testing/resources/pixel/bug_527174_expected.pdf.0.png [new file with mode: 0644]