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
[podofo-0.10.0]a SIGSEGV error occurs #67
Comments
|
Although we discovered this bug while using podofopdfinfo, the issue is actually occurring in the core code of the PoDoFo library, rather than in the PoDoFo tools. |
|
Sorry, that was too quick triage, but I am actually not expecting people to use tools at all in this moment so I am a bit surprised to see them mentioned in bug reports. |
|
Should be fixed with 3759eb6 . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using podofopdfinfo to parse a PDF file, a SIGSEGV error occurs. By debugging with gdb, it was found that the error occurred at line 163 in podofo-0.10.0/src/podofo/main/PdfObject.cpp:
if (m_IsDelayedLoadDone)
When checking the value of m_IsDelayedLoadDone with "p" command, it was found that the value was 0x31. As a boolean value, it should only be assigned either 0 or 1, but not any other numbers. Previously, PoDoFo::PdfObject::DelayedLoad was also called and executed normally, but calling this function in the getString() function would result in a failure. The specific gdb bt stack trace is as follows.
Command Input
podofopdfinfo poc_file
poc_file are attached.
Environment
poc_file.zip
The text was updated successfully, but these errors were encountered: