Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#9509 - Fix sudoku crash when using reload without previously saved state

Attached to Project: Rockbox
Opened by Henri Valta (cg) - Tuesday, 28 October 2008, 17:56 GMT+2
Last edited by Dominik Riebeling (bluebrother) - Tuesday, 28 October 2008, 23:41 GMT+2
Task Type Patches
Category Games
Status Closed
Assigned To No-one
Player Type All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Private No

Details

Sudoku crashes if there is no previously saved sudoku.ss state file and reload function is used. This patch initializes the restore state when generating the initial state
   sudoku_reload_crash.diff (0.4 KiB)
 apps/plugins/sudoku/sudoku.c |    2 ++
 1 file changed, 2 insertions(+)

This task depends upon

Closed by  Dominik Riebeling (bluebrother)
Tuesday, 28 October 2008, 23:41 GMT+2
Reason for closing:  Accepted
Additional comments about closing:  nice spot, thanks! Committed with an additional change for a similar issue (use Generate, then Reload to trigger)
Comment by Henri Valta (cg) - Tuesday, 28 October 2008, 18:43 GMT+2
V2 to include a helpful comment in the code. Thanks, linuxstb :)
   sudoku_reload_crash_v2.diff (0.4 KiB)
 apps/plugins/sudoku/sudoku.c |    3 +++
 1 file changed, 3 insertions(+)

Loading...