early-roguelike/arogue5
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
..
arogue58.doc Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
arogue58.html Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
arogue58.sln Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
arogue58.vcproj Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
chase.c Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
command.c arogue5: add nonl() to prevent CR/LF confusion. 2012-08-11 18:56:32 +00:00
daemon.c Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
daemons.c Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
encumb.c Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
fight.c Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
init.c arogue5: add missing header files. 2012-08-11 17:19:03 +00:00
io.c arogue5: add missing header files. 2012-08-11 17:19:03 +00:00
LICENSE.TXT Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
list.c Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
mach_dep.h arogue5: compile out wizard mode by default. 2012-08-11 21:58:20 +00:00
main.c arogue5: avoid segfaulting if getpwuid() fails. 2012-08-11 23:45:34 +00:00
Makefile arogue5: change default program name and options. 2012-08-11 21:53:49 +00:00
maze.c Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
mdport.c arogue5: fix support for keypad 5. 2012-08-12 14:45:58 +00:00
misc.c arogue5: add missing header files. 2012-08-11 17:19:03 +00:00
monsters.c Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
move.c Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
network.h Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
new_level.c Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
options.c arogue5: add missing header files. 2012-08-11 17:19:03 +00:00
outside.c Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
pack.c Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
passages.c Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
player.c Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
potions.c arogue5: add missing header files. 2012-08-11 17:19:03 +00:00
rings.c arogue5: add missing header files. 2012-08-11 17:19:03 +00:00
rip.c arogue5: update the score list before prompting to exit. 2012-08-11 20:58:24 +00:00
rogue.c arogue5: fix the crash when checking prices in shops. 2012-09-05 10:14:34 -07:00
rogue.h arogue5: implement logging. 2012-08-10 21:17:14 +00:00
rooms.c arogue5: add missing header files. 2012-08-11 17:19:03 +00:00
save.c arogue5: add missing header files. 2012-08-11 17:19:03 +00:00
scrolls.c arogue5: add missing header files. 2012-08-11 17:19:03 +00:00
state.c arogue5: fix the crash when checking prices in shops. 2012-09-05 10:14:34 -07:00
sticks.c arogue5: add missing header files. 2012-08-11 17:19:03 +00:00
things.c arogue5: add missing header files. 2012-08-11 17:19:03 +00:00
trader.c arogue5: add missing header files. 2012-08-11 17:19:03 +00:00
util.c arogue5: add missing header files. 2012-08-11 17:19:03 +00:00
vers.c Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
weapons.c arogue5: add missing header files. 2012-08-11 17:19:03 +00:00
wear.c arogue5: add missing header files. 2012-08-11 17:19:03 +00:00
wizard.c arogue5: add missing header files. 2012-08-11 17:19:03 +00:00
xcrypt.c Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00