Ticket #136 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

Don't crash on loading an sgf file with a too large board

Reported by: gunnar Owned by: gnugo
Priority: normal Milestone: 3.7.10
Component: source Version:
Severity: normal Keywords:
Cc: patch: yes

Description

There's no reason to crash with an assertion failure when trying to load an sgf file with a too large board. Exiting peacefully with an error message would be more well behaved.

See also the mailing list thread starting with  http://lists.gnu.org/archive/html/gnugo-devel/2006-05/msg00016.html.

Attachments

gunnar_7_10.14.diff Download (4.4 KB) - added by gunnar 6 years ago.
Fail gracefully when loading a problematic sgf file.

Regression Results

Attachment Rev. PASS FAIL Nodes Status
gunnar_7_10.14.diff Download never tested

Change History

Changed 6 years ago by gunnar

Fail gracefully when loading a problematic sgf file.

comment:1 Changed 6 years ago by gunnar

  • patch set

Fixed by the attached patch.

comment:2 Changed 6 years ago by gunnar

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.