Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

limit recursion to the number of objects #92

Merged
merged 1 commit into from
Mar 7, 2020

Conversation

kandykoma
Copy link
Contributor

a self referential pdf causes infinity loop.

%PDF-1.5

1 0 obj
  << /Type /Catalog
     /Pages 2 0 R
  >>
endobj

2 0 obj
  << /Type /Pages
     /Kids [2 0 R]
  >>
endobj

xref
1 3
0000000000 65535 f 
0000000010 00000 n 
0000000069 00000 n 
trailer
  <<  /Root 1 0 R
      /Size 5
  >>
startxref
127
%%EOF


@J-F-Liu J-F-Liu merged commit 5e93af6 into J-F-Liu:master Mar 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants