Fix bug 77022

This commit is contained in:
Svetlana Kulikova
2025-10-02 14:10:30 +03:00
parent dc904a1f13
commit 2bc14634bb

View File

@ -4965,7 +4965,6 @@ void Gfx::opBeginImage(Object args[], int numArgs) {
// if we have the stream length, skip to end-of-stream and then
// skip 'EI' in the original stream
} else if (haveLength) {
while ((c1 = str->getChar()) != EOF) ;
delete str;
str = parser->getStream();
c1 = str->getChar();