Skip to content

Pdf parser fixes#88

Merged
Velli20 merged 3 commits intomainfrom
pdf-parser-fixes
Feb 15, 2026
Merged

Pdf parser fixes#88
Velli20 merged 3 commits intomainfrom
pdf-parser-fixes

Conversation

@Velli20
Copy link
Owner

@Velli20 Velli20 commented Feb 15, 2026

No description provided.

- Add NUL byte to is_pdf_whitespace
- Split read_end_of_line_marker into try_ (optional) and expect_ (required)
  variants so callers that need mandatory EOL validation get it
- Change LiteralString from String to Vec<u8> to prevent data corruption
  of binary content via from_utf8_lossy replacement characters
- Fix parse_object_at to restore tokenizer position on error, not just
  on success
- Fix stream parser double-CR consumption before endstream keyword
@Velli20 Velli20 merged commit d47d181 into main Feb 15, 2026
4 checks passed
@Velli20 Velli20 deleted the pdf-parser-fixes branch February 17, 2026 19:03
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

Successfully merging this pull request may close these issues.

1 participant