sgt-puzzles 20230122.806ae71-2 source package in Ubuntu

Changelog

sgt-puzzles (20230122.806ae71-2) unstable; urgency=medium

  * Fix various security issues in game loading (Closes: #1034190):
    - Black Box: reject negative ball counts in game_params.
    - Add validate_params bounds checks in a few more games.
    - Don't allow Bridges games with < 2 islands
    - Forbid moves that fill with the current colour in Flood
    - Cleanly reject ill-formed solve moves in Flood
    - Don't segfault on premature solve moves in Mines
    - Limit number of mines in Mines game description
    - Validate the number of pegs and holes in a Pegs game ID
    - Mines: forbid moves that flag or unflag an exposed square
    - Mines: Don't check if the player has won if they've already lost
    - Avoid invalid moves when solving Tracks
    - Fix move validation in Netslide
    - Tighten validation of Tents game descriptions
    - Dominosa: require the two halves of a domino to be adjacent
    - Forbid lines off the grid in Pearl
    - Tolerate incorrect solutions in Inertia
    - Palisade: replace dfs_dsf() with a simple iteration.
    - latin_solver_alloc: handle clashing numbers in input grid.
    - Pearl: fix assertion failure on bad puzzle.
    - Pearl: fix bounds check in previous commit.
    - Unequal: Don't insist that solve moves must actually solve
    - Range: Don't fail an assertion on an all-black board
    - Limit width and height to SHRT_MAX in Mines
    - Mines: Add assertions to range-check conversions to short
    - Unequal: fix sense error in latin_solver_alloc fix.
    - Forbid impossible moves in Bridges
    - Forbid game descriptions with joined islands in Bridges
    - Check state is valid at the end of a move in Pearl
    - Cleanly reject more ill-formed solve moves in Flood
    - Don't allow moves that change the constraints in Unequal
    - Fix memory leaks in Keen's validate_desc()
    - Remember to free the actual_board array in Mosaic
    - Don't leak grids in Loopy's validate_desc()
    - Remember to free the to_draw member from Net's drawstate
    - Undead: check the return value of sscanf() in execute_move()
    - Don't leak duplicate edges in Untangle
    - Remember to free the numcolours array from Pattern's drawstate
    - Free new game_state properly in Mosaic's execute_move()
    - Twiddle: don't read off the end of parameter strings ending 'm'
    - Loopy: free the grid description string if it's invalid
    - Mosaic: don't duplicate the description being validated
    - Avoid division by zero in Cube grid-size checks
    - Validate that save file values are ASCII (mostly)
    - More validation of solve moves in Flood
    - Make sure that moves in Flood use only valid colours
    - Tighten grid-size limit in Mines
    - Tracks: set drag_s{x,y} even if starting off-grid
    - Undead: be a bit more careful about sprintf buffer sizes
    - Fix memory leak in midend_game_id_int()
    - Flood: don't read off the end of some parameter strings
    - Be more careful with type of left operand of <<
    - Map: reduce maximum size
    - Correctly handle some short save files
    - Inertia: insist that solutions must be non-empty
    - Galaxies: fix recursion depth limit in solver.
    - Correct a range check in Magnets' layout verification
    - Magnets: add a check that magnets don't wrap between lines
    - Net: assert that cx and cy are in range in compute_active()
    - Don't allow zero clues in Pattern
  * Solo: cope with pencil marks when tilesize == 1 (Closes: #905852)

 -- Ben Hutchings <email address hidden>  Sun, 16 Apr 2023 21:19:11 +0200

Upload details

Uploaded by:
Ben Hutchings
Uploaded to:
Sid
Original maintainer:
Ben Hutchings
Architectures:
any
Section:
games
Urgency:
Medium Urgency

See full publishing history Publishing

Series Pocket Published Component Section
Lunar release universe games

Downloads

File Size SHA-256 Checksum
sgt-puzzles_20230122.806ae71-2.dsc 2.0 KiB e48b18b74a85d7e0a300ab61bbbd106697b8abb7f19c2de9f263142fe147d92c
sgt-puzzles_20230122.806ae71.orig.tar.xz 835.5 KiB 6e236301b0ef756b9f421c8cdb50edc5510a6e5f6f7f1d3b8384dfd3d5204a99
sgt-puzzles_20230122.806ae71-2.debian.tar.xz 125.2 KiB ae22416cf16622fc230a7fa2d19022370152504c59920c9dbc58ec939d885848

No changes file available.

Binary packages built by this source

sgt-puzzles: Simon Tatham's Portable Puzzle Collection - 1-player puzzle games

 Simon Tatham's Portable Puzzle Collection contains a number of popular
 puzzle games for one player. It currently consists of these games:
 .
  * Black Box, ball-finding puzzle
  * Bridges, bridge-placing puzzle
  * Cube, rolling cube puzzle
  * Dominosa, domino tiling puzzle
  * Fifteen, sliding block puzzle
  * Filling, polyomino puzzle
  * Flip, tile inversion puzzle
  * Flood, flood-filling puzzle
  * Galaxies, symmetric polyomino puzzle
  * Guess, combination-guessing puzzle
  * Inertia, gem-collecting puzzle
  * Keen, arithmetic Latin square puzzle
  * Light Up, light-bulb placing puzzle
  * Loopy, loop-drawing puzzle
  * Magnets, magnet-placing puzzle
  * Map, map-colouring puzzle
  * Mines, mine-finding puzzle
  * Mosaic, grid-filling puzzle
  * Net, network jigsaw puzzle
  * Netslide, toroidal sliding network puzzle
  * Palisade, grid-division puzzle
  * Pattern, pattern puzzle
  * Pearl, loop-drawing puzzle
  * Pegs, peg solitaire puzzle
  * Range, visible-distance puzzle
  * Rectangles, rectangles puzzle
  * Same Game, block-clearing puzzle
  * Signpost, square-connecting puzzle
  * Singles, number-removing puzzle
  * Sixteen, toroidal sliding block puzzle
  * Slant, maze-drawing puzzle
  * Solo, number placement puzzle
  * Tents, tent-placing puzzle
  * Towers, tower-placing Latin square puzzle
  * Tracks, path-finding railway track puzzle
  * Twiddle, rotational sliding block puzzle
  * Undead, monster-placing puzzle
  * Unequal, Latin square puzzle
  * Unruly, black and white grid puzzle
  * Untangle, planar graph layout puzzle

sgt-puzzles-dbgsym: debug symbols for sgt-puzzles