diff options
| author | Simon Tatham <anakin@pobox.com> | 2023-04-20 14:25:22 +0100 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2023-04-20 17:30:01 +0100 |
| commit | dad2f35502c611dae758915cfb6dface4a303550 (patch) | |
| tree | 022733fdf0dc1ec0eb2787ae3ebbfbe7962aa15b /grid.c | |
| parent | 095224d5711f3482d6be0ffc01621143f25c7104 (diff) | |
| download | puzzles-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