Package: gnome-tetravex / 1:3.38.2-2

Metadata

Package Version Patches format
gnome-tetravex 1:3.38.2-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
Puzzle Use temporary variables when dereferencing initial.patch | (download)

src/puzzle.vala | 9 7 + 2 - 0 !
1 file changed, 7 insertions(+), 2 deletions(-)

 puzzle: use temporary variables when dereferencing initial_board

If we directly use `(!) initial_board [x, y]`, the C code generated by
valac 0.48.16 sets a temporary variable to a pointer into
`initial_board`, and then frees that pointer when it goes out of scope,
leaving a dangling pointer in `initial_board` which causes a double-free
and a crash.

Signed-off-by: Simon McVittie <smcv@debian.org>
Bug: https://gitlab.gnome.org/GNOME/gnome-tetravex/-/issues/32
Bug-Debian: https://bugs.debian.org/986718
Puzzle Clarify why we can assume that saved tile referenc.patch | (download)

src/puzzle.vala | 10 10 + 0 - 0 !
1 file changed, 10 insertions(+)

 puzzle: clarify why we can assume that saved tile references are
 non-null

Signed-off-by: Simon McVittie <smcv@debian.org>