Subject: CVS commit: basesrc/games/rogue
To: None <source-changes@netbsd.org>
From: matthew green <mrg@netbsd.org>
List: source-changes
Date: 10/01/2002 17:19:00
Module Name:	basesrc
Committed By:	mrg
Date:		Tue Oct  1 14:18:59 UTC 2002

Modified Files:
	basesrc/games/rogue: inventory.c message.c rogue.h save.c

Log Message:
- use correctly bounded strings when reloading a saved game.  in particular,
do not let the save game file "string length" exceed the amount of space
supplied.  as noted by <stanojr@iserver.sk> on bugtraq.
- minor KNF.

tested by simonb.


To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 basesrc/games/rogue/inventory.c \
    basesrc/games/rogue/save.c
cvs rdiff -r1.8 -r1.9 basesrc/games/rogue/message.c
cvs rdiff -r1.12 -r1.13 basesrc/games/rogue/rogue.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.