We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Unfortunately I can't share the document, but here are some information on the problem:
Length
<< ... /Length 880 0 R ... >>
0000001044 00000 f
When parsing the stream, the length is parsed with
pdfcpu/pkg/pdfcpu/read.go
Line 2302 in 7188e6a
Line 2190 in 7188e6a
Line 2157 in 7188e6a
Line 2141 in 7188e6a
Now, the (invalid) offset is used to parse the object
Line 1982 in 7188e6a
and the loop in
Line 1739 in 7188e6a
never terminates. It reads the file in 1024 byte increments but doesn't terminate after a couple of minutes when I cancelled it.
My suggestion is to ignore the missing Length reference and fix the stream length in
Line 2326 in 7188e6a
The text was updated successfully, but these errors were encountered:
hhrutter
Successfully merging a pull request may close this issue.
Unfortunately I can't share the document, but here are some information on the problem:
Length
entry that references another object.When parsing the stream, the length is parsed with
pdfcpu/pkg/pdfcpu/read.go
Line 2302 in 7188e6a
pdfcpu/pkg/pdfcpu/read.go
Line 2190 in 7188e6a
pdfcpu/pkg/pdfcpu/read.go
Line 2157 in 7188e6a
pdfcpu/pkg/pdfcpu/read.go
Line 2141 in 7188e6a
Now, the (invalid) offset is used to parse the object
pdfcpu/pkg/pdfcpu/read.go
Line 1982 in 7188e6a
and the loop in
pdfcpu/pkg/pdfcpu/read.go
Line 1739 in 7188e6a
never terminates. It reads the file in 1024 byte increments but doesn't terminate after a couple of minutes when I cancelled it.
My suggestion is to ignore the missing
Length
reference and fix the stream length inpdfcpu/pkg/pdfcpu/read.go
Line 2326 in 7188e6a
The text was updated successfully, but these errors were encountered: