simon-git: puzzles (main): Ben Harris

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Mon Jan 16 11:03:51 GMT 2023


TL;DR:
  f5924fc Correct syntax of fuzzpuzz.dict
  4b54221 Fix use-after-free in fuzzpuzz
  1dc1ed7 Fix memory leak in convert_tilesize

Repository:     https://git.tartarus.org/simon/puzzles.git
On the web:     https://git.tartarus.org/?p=simon/puzzles.git
Branch updated: main
Committer:      Ben Harris <bjh21 at bjh21.me.uk>
Date:           2023-01-16 11:03:51

commit f5924fc8a70fede4dda4eddb35229fc70cb5b38a
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=f5924fc8a70fede4dda4eddb35229fc70cb5b38a;hp=5782e29db43034574763b1d10c48486c3e95f0d2
Author: Ben Harris <bjh21 at bjh21.me.uk>
Date:   Sun Jan 15 20:59:22 2023 +0000

    Correct syntax of fuzzpuzz.dict

 fuzzpuzz.dict | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

commit 4b5422181deb3b09a7926aa51a7b26d656ca15ba
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=4b5422181deb3b09a7926aa51a7b26d656ca15ba;hp=f5924fc8a70fede4dda4eddb35229fc70cb5b38a
Author: Ben Harris <bjh21 at bjh21.me.uk>
Date:   Mon Jan 16 10:43:41 2023 +0000

    Fix use-after-free in fuzzpuzz
    
    When reporting that the game name in a save file isn't recognised,
    don't include the name from the save file in the error message, partly
    to avoid the complexity of freeing it properly on two different code
    paths and partly because including unsanitized data from a
    fuzzer-supplied save file in the error message just seems dangerous.
    And properly sanitising it would waste the fuzzer's time exploring the
    sanitising code.
    
    Thanks to Ben Hutchings for reporting the bug.

 fuzzpuzz.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 1dc1ed786fda790f60f2fe9f8e7c404c73ae64da
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=1dc1ed786fda790f60f2fe9f8e7c404c73ae64da;hp=4b5422181deb3b09a7926aa51a7b26d656ca15ba
Author: Ben Hutchings <benh at debian.org>
Date:   Mon Jan 16 00:07:01 2023 +0100

    Fix memory leak in convert_tilesize
    
    If old_dpr == new_dpr, convert_tilesize returns early without freeing
    defaults.  Move the initialisation of defaults after this special
    case.

 midend.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)



More information about the tartarus-commits mailing list