Files
pdf.js/test/pdfs/issue22011.pdf
xjtu-ctgg 03230d0765 Don't stop at the first broken /Kids entry in Catalog.getAllPageDicts (issue 22011)
If fetching one of the /Kids entries fails, we record an error for that
page but then stop walking the /Pages tree. All of the following pages
are thus lost, and the page count ends up being too low.

Skip only the broken entry and continue with the remaining ones, such
that just the corrupt page fails to load.
2026-09-30 22:23:52 +08:00

19 KiB