mudcoders / guildmud

A SocketMUD-based Multi-User Dungeon built and managed by the members of The MUD Coders Guild.
MIT License
26 stars 12 forks source link

Identify why lack of access to ../help generates a segfault 11 #7

Closed rogersm closed 6 years ago

rogersm commented 6 years ago

When starting guildmud and there's no ../help directory to load the help files, program segfaults.

rogersm@iMac10,1:~/Dropbox/dev/guildmud/src$ cp ./guildmud /tmp
rogersm@iMac10,1:~/Dropbox/dev/guildmud/src$ cd /tmp
rogersm@iMac10,1:/tmp$ ./guildmud
Segmentation fault: 11

Will investigate, but taking into account code is not checking for opendir(3) return code, this should not be too difficult.