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

tcpdi_parser 1.0 fixes #10

Open
granttrudel opened this issue Jun 22, 2016 · 0 comments
Open

tcpdi_parser 1.0 fixes #10

granttrudel opened this issue Jun 22, 2016 · 0 comments

Comments

@granttrudel
Copy link

tcpdi_parser.php.txt
In the above parser, I found and fixed a few issues when I was attempting to create a PDF with embedded PDFs.

  1. Line 555 was inserted because there could be an odd number of characters in the row ($xrefcrs[1][3][0] - see line 528), so that $row[1] could be undefined.
  2. Lines 623, 624, and 626 were inserted because $row[$i] was not always set or defined.
  3. Lines 814-819, and 821 were inserted because the offsets were not always within the boundaries of $data, causing the data to be corrupted on a subsequent loop. The "@" was suppressing these errors.

Hope this helps? Please let me know if there are any questions.
-Grant

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

1 participant