Closed pubpub-zz closed 1 month ago
the pdf contains some dictionnaries where the << and >> are not balanced. this creates an infinite loop when parsing file
How is this different from #2876?
from my understanding, #2876 deals with memory. Here, the infinite has been generated because of #2872. maybe at the end the fix will cover both.
Note : With the latest dev build
an infinite loop occurs when getting number of pages https://github.com/user-attachments/files/17162634/7f40cb209fb97d1782bffcefc5e7be40.pdf
Originally posted by @pubpub-zz in https://github.com/py-pdf/pypdf/issues/2876#issuecomment-2379649591