early-roguelike/arogue5
John "Elwin" Edwards 7eeb9ddcb6 Add some braces to a loop in parse_opts().
A for loop had no braces around its body, which was a single if-else
statement.  In Advanced Rogue 5, another statement had been added,
accidentally removing the if-else from the loop.  This could have
resulted in an out-of-bounds access to the options array.

In the other games, the added braces are only for clarity.
2017-02-10 09:02:58 -05:00
..
acinclude.m4 arogue5: port to autoconf. 2013-08-31 09:18:07 -07:00
arogue5.vcxproj Enable the logfile on 64-bit Windows. 2016-05-17 21:28:34 -04:00
arogue5.vcxproj.filters Update the Visual Studio project files. 2015-08-18 13:23:56 -04: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
chase.c Advanced Rogue 5: convert to ANSI function declarations. 2016-02-07 14:39:21 -05:00
command.c Advanced Rogue 5: convert to ANSI function declarations. 2016-02-07 14:39:21 -05:00
configure.ac Fix a typo in configure.ac. 2015-06-04 14:48:25 -04:00
daemon.c Daemons and fuses now return void. 2016-03-05 20:49:37 -05:00
daemons.c Advanced Rogue 5: convert to ANSI function declarations. 2016-02-07 14:39:21 -05:00
encumb.c Advanced Rogue 5: convert to ANSI function declarations. 2016-02-07 14:39:21 -05:00
fight.c Declare some function arguments as const. 2016-03-06 19:32:47 -05:00
init.c Advanced Rogue 5: convert to ANSI function declarations. 2016-02-07 14:39:21 -05:00
io.c Advanced Rogue 5: convert to ANSI function declarations. 2016-02-07 14:39:21 -05:00
LICENSE.TXT Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
list.c Advanced Rogue 5: convert to ANSI function declarations. 2016-02-07 14:39:21 -05:00
mach_dep.h arogue5: port to autoconf. 2013-08-31 09:18:07 -07:00
main.c Use more portable random seed generation. 2017-01-28 15:49:41 -05:00
Makefile.in Makefiles: don't rely on built-in implicit rules. 2016-03-08 19:45:41 -05:00
maze.c Advanced Rogue 5: convert to ANSI function declarations. 2016-02-07 14:39:21 -05:00
mdport.c Use more portable random seed generation. 2017-01-28 15:49:41 -05:00
misc.c Advanced Rogue 5: convert to ANSI function declarations. 2016-02-07 14:39:21 -05:00
monsters.c Advanced Rogue 5: convert to ANSI function declarations. 2016-02-07 14:39:21 -05:00
move.c Advanced Rogue 5: convert to ANSI function declarations. 2016-02-07 14:39:21 -05: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 Advanced Rogue 5: convert to ANSI function declarations. 2016-02-07 14:39:21 -05:00
options.c Add some braces to a loop in parse_opts(). 2017-02-10 09:02:58 -05:00
outside.c Advanced Rogue 5: convert to ANSI function declarations. 2016-02-07 14:39:21 -05:00
pack.c Advanced Rogue 5: convert to ANSI function declarations. 2016-02-07 14:39:21 -05:00
passages.c Advanced Rogue 5: convert to ANSI function declarations. 2016-02-07 14:39:21 -05:00
player.c Advanced Rogue 5: convert to ANSI function declarations. 2016-02-07 14:39:21 -05:00
potions.c Advanced Rogue 5: convert to ANSI function declarations. 2016-02-07 14:39:21 -05:00
rings.c Advanced Rogue 5: convert to ANSI function declarations. 2016-02-07 14:39:21 -05:00
rip.c Advanced Rogue 5: convert to ANSI function declarations. 2016-02-07 14:39:21 -05:00
rogue.c Advanced Rogue family: fix the "score" option. 2015-05-20 08:42:17 -04:00
rogue.h Use more portable random seed generation. 2017-01-28 15:49:41 -05:00
rooms.c Advanced Rogue 5: convert to ANSI function declarations. 2016-02-07 14:39:21 -05:00
save.c Use more portable random seed generation. 2017-01-28 15:49:41 -05:00
scrolls.c Advanced Rogue 5: convert to ANSI function declarations. 2016-02-07 14:39:21 -05:00
state.c Fix some functions not returning the right type. 2016-03-19 16:18:58 -04:00
sticks.c Advanced Rogue 5: convert to ANSI function declarations. 2016-02-07 14:39:21 -05:00
things.c Advanced Rogue 5: convert to ANSI function declarations. 2016-02-07 14:39:21 -05:00
trader.c Advanced Rogue 5: convert to ANSI function declarations. 2016-02-07 14:39:21 -05:00
util.c Advanced Rogue 5: convert to ANSI function declarations. 2016-02-07 14:39:21 -05:00
vers.c Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
weapons.c Advanced Rogue 5: convert to ANSI function declarations. 2016-02-07 14:39:21 -05:00
wear.c Advanced Rogue 5: convert to ANSI function declarations. 2016-02-07 14:39:21 -05:00
wizard.c Advanced Rogue 5: convert to ANSI function declarations. 2016-02-07 14:39:21 -05:00
xcrypt.c Advanced Rogue 5: convert to ANSI function declarations. 2016-02-07 14:39:21 -05:00