diff options
author | npm <npm@chromium.org> | 2016-11-09 17:26:27 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-09 17:26:27 -0800 |
commit | 3f8cb532c93bd2839073ed4949d051245de5a4cb (patch) | |
tree | 37f246a16a74193c96b8e0892ec0c0640e5a57a3 /fpdfsdk/fpdfsave_embeddertest.cpp | |
parent | 6173c9d2a3ce717b1ea3bfa12d6d403ee6a543a6 (diff) | |
download | pdfium-3f8cb532c93bd2839073ed4949d051245de5a4cb.tar.xz |
Add early returns in CJBig2_TRDProc::decode_Arith when decode fails.
None of the decodes in the method are currently being checked. This is
causing pdfium to take a long time rendering corrupted files. Thus, I
added a couple of early returns to help prevent this from happening.
BUG=450971
Review-Url: https://codereview.chromium.org/2493633002
Diffstat (limited to 'fpdfsdk/fpdfsave_embeddertest.cpp')
0 files changed, 0 insertions, 0 deletions