diff options
author | JUN FANG <jun_fang@foxitsoftware.com> | 2015-08-05 17:07:07 -0700 |
---|---|---|
committer | JUN FANG <jun_fang@foxitsoftware.com> | 2015-08-05 17:07:07 -0700 |
commit | 2526930205ca2ef0a06ec32644d41d4548d45d80 (patch) | |
tree | f1ef039fa1242b200e0e9028753f92615b4a7367 /testing | |
parent | 8d8a99027d38e3b8d452e7ab8049c310b90e780d (diff) | |
download | pdfium-2526930205ca2ef0a06ec32644d41d4548d45d80.tar.xz |
Early object closing in PDF via premature 'endobj' keyword
Adobe acrobat defines keywords "\nendstream\n" and "\nendobj\n" in object's stream.
However, Pdfium searches "endstream" and "endobj" as the keywords in the streams of objects.
Some words like "(endstream)" are wrongly treated as keywords in pdfium.
This fix follows Adobe's solution.
BUG=493126
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1219133005 .
Diffstat (limited to 'testing')
0 files changed, 0 insertions, 0 deletions