From 63da7474adf5b585d5fd10729a99a2c50c20a626 Mon Sep 17 00:00:00 2001 From: Wei Li Date: Sun, 6 Dec 2015 20:24:25 -0800 Subject: Merge to XFA: fix for stream object reading Loosen a check for earlier version of PDF files. When the bytes with specified length are followed by 'endstream' keyword, even if there is no EOL marker before the keyword, it signals the end of stream. BUG=551258 TBR=jun_fang@foxitsoftware.com Review URL: https://codereview.chromium.org/1499433002 . (cherry picked from commit 0ff66089c87ab6e3adaaff0ec69728ce7a8d8299) Review URL: https://codereview.chromium.org/1504723002 . --- testing/resources/pixel/bug_551258_1_expected.pdf.0.png | Bin 0 -> 5433 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 testing/resources/pixel/bug_551258_1_expected.pdf.0.png (limited to 'testing/resources/pixel/bug_551258_1_expected.pdf.0.png') diff --git a/testing/resources/pixel/bug_551258_1_expected.pdf.0.png b/testing/resources/pixel/bug_551258_1_expected.pdf.0.png new file mode 100644 index 0000000000..a044bb0c37 Binary files /dev/null and b/testing/resources/pixel/bug_551258_1_expected.pdf.0.png differ -- cgit v1.2.3