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

pdf-0.7.2/src/xref.rs:111:43 thread '<unnamed>' panicked #140

Open
gessel opened this issue Jul 23, 2022 · 2 comments
Open

pdf-0.7.2/src/xref.rs:111:43 thread '<unnamed>' panicked #140

gessel opened this issue Jul 23, 2022 · 2 comments

Comments

@gessel
Copy link

gessel commented Jul 23, 2022

I am having crashes using czkawka_gui and the logs indicate the problem is in the pdf parsing stack (checking for "broken" files)

PDF-rs library crashed when opening ""/one/file.pdf"" pdf, and if it is not reported, please report bug here - https://github.com/pdf-rs/pdf
thread '<unnamed>' panicked at 'index out of bounds: the len is 7 but the index is 7', /home/gessel/.cargo/registry/src/github.com-1ecc6299db9ec823/pdf-0.7.2/src/xref.rs:111:43
... [many, many logged]
PDF-rs library crashed when opening ""/another/file.pdf"" pdf, and if it is not reported, please report bug here - https://github.com/pdf-rs/pdf

thread '<unknown>' has overflowed its stack
fatal runtime error: stack overflow
Aborted
@s3bk
Copy link
Contributor

s3bk commented Jul 23, 2022

Looks like it is using an old version. Line 111 currently contains a comment...

@s3bk
Copy link
Contributor

s3bk commented Jul 23, 2022

Yes, it uses the last release on crates.io: pdf = "0.7.2".
I need to check if all blockers from releasing the next version have been resolved.

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

No branches or pull requests

2 participants