-
Notifications
You must be signed in to change notification settings - Fork 245
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
Some PDF files crashes #292
Comments
Fixed in 80c5578 |
@JamesHeinrich can you make a new release with that fix? |
Even with this change I'm still seeing infinite looping on at least some PDFs. |
Do you have a non-sensitive PDF that shows this problem you can send me ([email protected]) for testing? |
I'm checking with the user I got my example from; I'll pass it along if they give me a thumbs-up to send it. |
Thanks for the sample file, I can at least reproduce the infinite-loop behaviour. I may not be able to look at the issue for a couple days but I'll investigate what's causing the problem and let you know. |
So it turns out the PDF specification is a little more "flexible" (read: poorly standardized) than I had thought and the existing parsing code was not finding what it was looking for. I have rewritten that section and it should be a bit more robust now. |
With some PDF files the plugin crashes.
When i remove the '&' caracter in the getid3_pdf class the file works, but other files also work as well with the '&' character.
$info = &$this->getid3->info;
to$info = $this->getid3->info;
See the attach file.
formulier-taak-herexamen.pdf
The text was updated successfully, but these errors were encountered: