aboutsummaryrefslogtreecommitdiff
path: root/grid.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2023-04-20 14:25:22 +0100
committerSimon Tatham <anakin@pobox.com>2023-04-20 17:30:01 +0100
commitdad2f35502c611dae758915cfb6dface4a303550 (patch)
tree022733fdf0dc1ec0eb2787ae3ebbfbe7962aa15b /grid.c
parent095224d5711f3482d6be0ffc01621143f25c7104 (diff)
downloadpuzzles-dad2f35502c611dae758915cfb6dface4a303550.zip
puzzles-dad2f35502c611dae758915cfb6dface4a303550.tar.gz
puzzles-dad2f35502c611dae758915cfb6dface4a303550.tar.bz2
puzzles-dad2f35502c611dae758915cfb6dface4a303550.tar.xz
Store a size field inside the DSF type.
This permits bounds-checking of all inputs to dsf_canonify and dsf_merge, so that any out-of-range values will provoke assertion failure instead of undefined behaviour.
Diffstat (limited to 'grid.c')
0 files changed, 0 insertions, 0 deletions