[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnubg] Bug: crash when importing irregular format text after a matc
From: |
Daisuke Takahashi |
Subject: |
[Bug-gnubg] Bug: crash when importing irregular format text after a match started |
Date: |
Tue, 15 Jul 2014 21:25:51 +0900 |
Hi,
After starting a new match, gnubg crashes when I attempt to import an
irregularly formatted text file (e.g., a score at [1]).
ImportMat() (import.c:1177) frees all the lMatch elements (import.c:1184), then
replaces it by a newly allocated match data and update plGame. But when it
failed to import a match from the input file, nothing will be allocated and the
plGame points to the already freed region. The backtrace is attached on this
mail.
Thank you very much.
Regards,
Daisuke Takahashi
[1] :
http://www.backgammon.gr.jp/learning/grplayer/GameData/CanneSuperJP_SemifinX22_simple.txt
backtrace.txt
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-gnubg] Bug: crash when importing irregular format text after a match started,
Daisuke Takahashi <=