mirror of
https://pdfium.googlesource.com/pdfium
synced 2026-07-31 22:26:36 +08:00
If content stream parsing is handling the BI operator and it does not find an EI operator before reaching the end of the stream, then the inline image is invalid and should not be displayed. - Add a pixel test for this to demonstrate this corner case. - Fix bug_1591.in so it has enough image data. The existing file did not take the image pitch into account and was reading "\nEI" as part of the image data. - Temporarily suppress bug_1236805.in pixel test, which uses inline images and is very sensitive to these changes. Bug: 412524377 Change-Id: Icaa7089fb14f0e74c613f7f1461f0d1ead19d656 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/130930 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
1.3 KiB
1.3 KiB