podofoinfo 0.10.0 was discovered to contain a segmentation violation via the function PoDoFo::PdfObject::DelayedLoad.
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.

![Z_%VS`9LQ_22SJVY06P7ZFB](https://user-images.githubusercontent.com/56356572/231064295-fa5fb8c9-8b33-45ca-a670-fcd21d3cfa68.png)

**Command Input**

podofopdfinfo poc_file 

poc_file are attached.

**Environment**

- OS: Ubuntu 20.04.1
- clang:12.0.0
- podofo:0.10.0

[poc_file.zip](https://github.com/podofo/podofo/files/11196911/poc_file.zip)


[podofo-0.10.0]a SIGSEGV error occurs
This is a GitHub Issue
repo:podofo
owner:podofo
Title : [podofo-0.10.0]a SIGSEGV error occurs
Issue date:

--- start body ---
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.

![Z_%VS`9LQ_22SJVY06P7ZFB](https://user-images.githubusercontent.com/56356572/231064295-fa5fb8c9-8b33-45ca-a670-fcd21d3cfa68.png)

**Command Input**

podofopdfinfo poc_file 

poc_file are attached.

**Environment**

- OS: Ubuntu 20.04.1
- clang:12.0.0
- podofo:0.10.0

[poc_file.zip](https://github.com/podofo/podofo/files/11196911/poc_file.zip)


--- end body ---
