Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix the xpdf fuzzer #11716

Merged
merged 1 commit into from
Mar 21, 2024
Merged

Fix the xpdf fuzzer #11716

merged 1 commit into from
Mar 21, 2024

Conversation

jvoisin
Copy link
Contributor

@jvoisin jvoisin commented Mar 20, 2024

The number of pages is starting at 1, and not at 0

This should fix #11711

The number of pages is starting at `1`, and not at `0`
Copy link

jvoisin has previously contributed to projects/xpdf. The previous PR was #7241

@DavidKorczynski DavidKorczynski merged commit 5d1bf13 into google:master Mar 21, 2024
16 checks passed
DavidKorczynski pushed a commit that referenced this pull request Apr 19, 2024
Currently the xpdf fuzz_pdfload fuzzer fails because the harness tries
to display page zero.

Issue #11711 highlighted this but the merged fix #11716 only fixes the
first of the two loops, when both need to start at 1.
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[xpdf] Invalid argument passed to doc.getLinks() in fuzz_pdfload.cc
2 participants