simon-git: halibut (main): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Mon Apr 21 16:58:26 BST 2025


TL;DR:
  91e5d73 Fix crash when loading a PFB file.

Repository:     https://git.tartarus.org/simon/halibut.git
On the web:     https://git.tartarus.org/?p=simon/halibut.git
Branch updated: main
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2025-04-21 16:58:26

commit 91e5d73320bb90a85c2b413174e1dba810fde476
web diff https://git.tartarus.org/?p=simon/halibut.git;a=commitdiff;h=91e5d73320bb90a85c2b413174e1dba810fde476;hp=c5f0298a9d28df6690f79bc5e522daa172597fb9
Author: Simon Tatham <anakin at pobox.com>
Date:   Mon Apr 21 16:57:09 2025 +0100

    Fix crash when loading a PFB file.
    
    The statement 'tail->next = NULL' after the 'for (;;)' loop in
    load_pfb_file was never reached, because nothing ever breaks the loop.
    Instead, the function returns from the middle of the loop when it
    encounters PFB_EOF. So it should set tail->next to NULL _there_.

 in_pf.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)



More information about the tartarus-commits mailing list