summaryrefslogtreecommitdiff
path: root/core/fpdfapi/parser/cpdf_name.h
diff options
context:
space:
mode:
authornpm <npm@chromium.org>2016-11-09 17:26:27 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-09 17:26:27 -0800
commit3f8cb532c93bd2839073ed4949d051245de5a4cb (patch)
tree37f246a16a74193c96b8e0892ec0c0640e5a57a3 /core/fpdfapi/parser/cpdf_name.h
parent6173c9d2a3ce717b1ea3bfa12d6d403ee6a543a6 (diff)
downloadpdfium-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 'core/fpdfapi/parser/cpdf_name.h')
0 files changed, 0 insertions, 0 deletions