NetBSD/games/hack
pho 9904cea545 hack(6): Fix a segfault that occurs when ASLR is enabled
Prior to this change, savenames() would store "objects" in save files as a
blob, and restnames() would load it and overwrite "objects". But since
objclass::oc_name and oc_descr are pointers to string constants, they would
be invalid when the next time the process is spawned, and opening the
inventory would crash by dereferencing invalid pointers.
2023-07-30 09:23:21 +00:00
..
COPYRIGHT
COPYRIGHT-JF
Makefile bsd.own.mk: rename GCC_NO_* to CC_WNO_* 2023-06-03 09:09:01 +00:00
Makequest
OWNER
Original_READ_ME
READ_ME
alloc.c
config.h games: remove trailing whitespace in *.c and *.h 2021-05-02 12:50:43 +00:00
data
date.h
def.edog.h
def.eshk.h
def.flag.h
def.func_tab.h
def.gen.h
def.gold.h
def.mkroom.h
def.monst.h
def.obj.h
def.objclass.h
def.objects.h
def.permonst.h
def.rm.h
def.trap.h
def.wseg.h
extern.h games: remove trailing whitespace in *.c and *.h 2021-05-02 12:50:43 +00:00
hack.6
hack.Decl.c
hack.apply.c
hack.bones.c
hack.c games: remove trailing whitespace in *.c and *.h 2021-05-02 12:50:43 +00:00
hack.cmd.c
hack.do.c
hack.do_name.c
hack.do_wear.c
hack.dog.c
hack.eat.c - done() can return in wizard mode. don't NOTREACHED'd it 2019-02-04 03:33:15 +00:00
hack.end.c games/hack: Revert the strlcpy(1) change since this changes expected behavior from strncpy(3). 2020-02-07 22:04:02 +00:00
hack.engrave.c
hack.fight.c
hack.fix
hack.h
hack.invent.c
hack.ioctl.c
hack.lev.c
hack.main.c
hack.makemon.c
hack.mfndpos.h
hack.mhitu.c
hack.mklev.c
hack.mkmaze.c
hack.mkobj.c
hack.mkshop.c
hack.mon.c
hack.monst.c
hack.o_init.c hack(6): Fix a segfault that occurs when ASLR is enabled 2023-07-30 09:23:21 +00:00
hack.objnam.c
hack.options.c
hack.pager.c
hack.potion.c
hack.pri.c
hack.read.c
hack.rip.c
hack.rumors.c
hack.save.c
hack.search.c
hack.sh
hack.shk.c
hack.shknam.c
hack.steal.c
hack.terminfo.c games: remove trailing whitespace in *.c and *.h 2021-05-02 12:50:43 +00:00
hack.timeout.c
hack.topl.c
hack.track.c
hack.trap.c
hack.tty.c
hack.u_init.c
hack.unix.c - enlarge buffer to avoid snprintf() truncation 2019-02-03 10:48:46 +00:00
hack.vault.c
hack.version.c
hack.wield.c
hack.wizard.c
hack.worm.c
hack.worn.c
hack.zap.c games: remove trailing whitespace in *.c and *.h 2021-05-02 12:50:43 +00:00
help
hh
makedefs.c
pathnames.h
rnd.c
rumors