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:22:12 -0700 |
commit | b14283e6b7f2521070106b070eb74219dfd97e1b (patch) | |
tree | 3cebf550ee709715fb3fda32f16679e5a0cd1e48 /fpdfsdk/include/fsdk_baseannot.h | |
parent | ce17b97a1240525b88d7f94c842eac0f7f4051fa (diff) | |
download | pdfium-b14283e6b7f2521070106b070eb74219dfd97e1b.tar.xz |
Merge to XFA: 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 'fpdfsdk/include/fsdk_baseannot.h')
0 files changed, 0 insertions, 0 deletions