• Joined on 2025年11月02日
dom2 merged pull request MonadicSheep/emacs-reader#144 2025年11月06日 11:47:38 +01:00
Don't crash on bad outline
dom2 commented on pull request MonadicSheep/emacs-reader#144 2025年11月06日 05:06:02 +01:00
Don't crash on bad outline

Here's an example PDF with a faulty outline. With the mupdf libs version 1.26.10, opening this file will cause a segfault, because the try/catch macro is causing a failure on a bad outline, even...

dom2 commented on pull request MonadicSheep/emacs-reader#144 2025年11月05日 08:55:43 +01:00
Don't crash on bad outline
dom2 commented on pull request MonadicSheep/emacs-reader#144 2025年11月05日 08:54:56 +01:00
Don't crash on bad outline

Yeah, the fz_try/fz_catch block expects a fz_context object as the argument to the macro always, which makes sense given it's using longjmp/setjmp, it requires some context model. see:...

dom2 pushed to fix-crash-on-bad-outline at dom2/emacs-reader 2025年11月05日 08:46:17 +01:00
b52ecefef5 fix: prevent error in fz_load_outline from stopping pdf opening
dom2 pushed to fix-crash-on-bad-outline at dom2/emacs-reader 2025年11月03日 00:12:13 +01:00
707b9ce5c0 Only drop outline if load outline fails
dom2 created pull request MonadicSheep/emacs-reader#144 2025年11月03日 00:06:39 +01:00
Don't crash on bad outline
dom2 created branch fix-crash-on-bad-outline in dom2/emacs-reader 2025年11月03日 00:05:58 +01:00
dom2 pushed to fix-crash-on-bad-outline at dom2/emacs-reader 2025年11月03日 00:05:58 +01:00
81addac859 Don't crash on bad outline
dom2 created repository dom2/emacs-reader 2025年11月03日 00:05:05 +01:00