Skip to content

Fixed crash due to parser error on 32bit Haiku. #100#126

Merged
korli merged 2 commits into
HaikuArchives:masterfrom
KevinAdams05:master
Jun 1, 2026
Merged

Fixed crash due to parser error on 32bit Haiku. #100#126
korli merged 2 commits into
HaikuArchives:masterfrom
KevinAdams05:master

Conversation

@KevinAdams05
Copy link
Copy Markdown
Contributor

Gracefully handle a NULL value getting parsed into PDFView::LinkToString() so it doesn't crash the application. Also log a message to syslog for diagnostics referring to issue #100. Another fix to the parser should resolve the root cause, but I am also curious if upgrading xpdf would help - the issue may have been resolved in xpdf already.

@korli
Copy link
Copy Markdown
Contributor

korli commented Jun 1, 2026

Please log with fprintf on stderr (without a new method)

@korli korli merged commit a807189 into HaikuArchives:master Jun 1, 2026
4 checks passed
@korli
Copy link
Copy Markdown
Contributor

korli commented Jun 1, 2026

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants