Xref: utzoo comp.sources.bugs:588 rec.games.hack:1831 Path: utzoo!mnetor!uunet!husc6!cmcl2!brl-adm!umd5!umbc3!dave From: dave@umbc3.UMD.EDU (David A Freeman) Newsgroups: comp.sources.bugs,rec.games.hack Subject: Re: nethack Message-ID: <648@umbc3.UMD.EDU> Date: 19 Dec 87 20:52:13 GMT References: <18633@clyde.ATT.COM> Reply-To: dave@umbc3.UMD.EDU (David A Freeman) Organization: University of Maryland, Baltimore County Lines: 38 In article <18633@clyde.ATT.COM> jona@moss.UUCP (Jon M. Allingham) writes: > >I ran lint on nethack and came up with an interesting potential bug - > >BLINDFOLDED is defined as LAST_RING+11 >Blindfolded is defined as u.uprops[BLINDFOLDED].p_flgs > >*and* >uprops is struct prop uprops[LAST_RING+11]. > >As far as I can see this is addressing one past the end of the uprops array >which should cause blindfolds to be screwed up. Has anyone had trouble with >blindfolds? should uprops be size LAST_RING+12? I found it quite easy to crash the game using the blindfold. Just get into wizard mode and teleport to hell with the blindfold on. Then start to search the level. You should get the message " At get null a 00 00 " which will soon be followed by a segmentation fault. I think saving the game prevents the crash. If you don't get the "at gets null" message start moving up levels with the blindfold on. It will happen sooner or later. Could someone post a patch for this? dave arpa: dave@umbc3.umd.edu bitnet dave@umbc2