DavidGriffith / frotz

Infocom-style interactive fiction player for Unix and DOS (moved to https://gitlab.com/DavidGriffith/frotz)
GNU General Public License v2.0
209 stars 64 forks source link

Provide dfrotz `f_setup.command_name` with an initial buffer #52

Closed llasram closed 6 years ago

llasram commented 6 years ago

Without this initialization f_setup.command_name is NULL, but e.g. replay_open() assumes that it points to a valid buffer, and produces a segfault if it does not. In particular, this causes dfrotz to segfault when attempting to replay a command playback file.