From 4549d6cf1b66ac2900f4c05266ac222780f49728 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Tue, 24 Oct 2023 11:14:00 -0700 Subject: [PATCH] LibPDF: Add a FIXME comment to the inline image data skipping path --- Userland/Libraries/LibPDF/Parser.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Userland/Libraries/LibPDF/Parser.cpp b/Userland/Libraries/LibPDF/Parser.cpp index eba8c21ad2..cde258ed99 100644 --- a/Userland/Libraries/LibPDF/Parser.cpp +++ b/Userland/Libraries/LibPDF/Parser.cpp @@ -548,6 +548,7 @@ PDFErrorOr> Parser::parse_operators() if (!operator_args.is_empty()) return error("operator args not empty on start of inline image"); + // FIXME: `EI` can be part of the image data, e.g. on page 3 of 0000450.pdf of 0000.zip of the RGBA dataset. while (!m_reader.done()) { if (m_reader.matches("EI")) { break;