Home | History | Annotate | Download | only in rogue
History log of /src/games/rogue/message.c
RevisionDateAuthorComments
 1.16  01-Aug-2023  mrg fix new GCC 12 warning that can't happen by forcing unsigned context for
values that are always positive by this point.
 1.15  02-May-2021  rillig games: remove trailing whitespace in *.c and *.h
 1.14  12-Aug-2009  dholland sprinkle static
 1.13  14-Jan-2008  dholland ANSIfy. Remove unnecessary casts. Clean up for -Wsign-compare. Make more
things file-static. Other minor tidyups, and fix a couple minor bugs found
along the way.
 1.12  14-Jan-2008  dholland Whitespace/KNF nits.
 1.11  27-Dec-2007  dholland Comprehensive (or at least extensive) string handling cleanup for rogue.

This patch dates (mostly) back to 2002; the critical parts of it were
handled back then by security-officer. As far as I know, there's
nothing exploitable fixed herein.

A slightly earlier version of this patch was reviewed by Christian Biere
when I filed it as PR 34750.
 1.10  07-Aug-2003  agc branches: 1.10.22;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22269, verified by myself.
 1.9  01-Oct-2002  mrg - 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.
 1.8  10-Jul-2000  itojun branches: 1.8.2;
printf() pedant - do not pass variable alone, use %s.
idea from openbsd. after looking at freebsd commit msgs from kris@freebsd.
 1.7  10-Nov-1998  hubertf branches: 1.7.10;
constify, per PR 6148
 1.6  12-Oct-1997  lukem WARNSify (not an insignificant task...)
 1.5  22-Apr-1995  cgd clean up import, NetBSD RCS Ids
 1.4  10-Nov-1993  cgd new curses update
 1.3  10-Aug-1993  mycroft Rewrite special character handling.
 1.2  01-Aug-1993  mycroft Add RCS identifiers.
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2  22-Apr-1995  cgd src/games/rogue from Lite
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.7.10.1  02-Oct-2002  itojun games/rogue/inventory.c 1.8
games/rogue/save.c 1.8
games/rogue/message.c 1.9
games/rogue/rogue.h 1.13

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. Fixes SA#2002-021.

(mrg)
 1.8.2.1  01-Oct-2002  lukem Pull up revision 1.9 (requested by mrg in ticket #892):
- 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.
 1.10.22.2  23-Mar-2008  matt sync with HEAD
 1.10.22.1  09-Jan-2008  matt sync with HEAD

RSS XML Feed