Early Roguelike Collection
Find a file
John "Elwin" Edwards 5fe41fbc3a arogue5: fix the crash when checking prices in shops.
A buffer called curpurch, which stores a description of an item in a
trading post which the player might be interested in, was only 15
bytes.  It was overflowing into oldrp, a room pointer, leading to
segfaults.  The size of curpurch has been increased to LINELEN*2,
which matches the size of prbuf, which is returned by inv_name and
then strcpy()'d to curpurch.  As long as nothing overflows prbuf it
should be safe now.

NOTE that this breaks savefile compatibility.
2012-09-05 10:14:34 -07:00
arogue5 arogue5: fix the crash when checking prices in shops. 2012-09-05 10:14:34 -07:00
rogue3 rogue3, rogue4: fix log message formatting for wins. 2012-08-07 21:17:29 +00:00
rogue4 rogue4: fix "You found you found" bug. 2012-08-20 20:30:19 -07:00
rogue5 Improve support for keypad 5. 2011-10-28 16:00:05 +00:00
srogue rogue3, srogue: showing the version should not take a turn. 2012-05-24 05:10:38 +00:00