Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!mips!apple!motcsd!hpda!hpcuhb!hpihoah!bruce From: bruce@hpihoah.HP.COM (Bruce LaVigne) Newsgroups: comp.sources.games.bugs Subject: TinyMUD fix Message-ID: <10340005@hpihoah.HP.COM> Date: 25 Feb 90 01:15:07 GMT Organization: Hewlett Packard, Cupertino Lines: 15 I have found and fixed a bug in TinyMUD where using @name to change your character's name without specifying a password will cause a segmentation fault. The problem was that the routine tries to find the password using isspace(), which at least on our systems does not check for '\0'. The diffs to set.c are as follows: 44c48,49 < for(password = newname; !isspace(*password); password++); --- > for(password=newname;(*password && !isspace(*password));password++) > ; Enjoy! -bruce