Provide dfrotz `f_setup.command_name` with an initial buffer
authorMarshall Bockrath <llasram@gmail.com>
Thu, 14 Dec 2017 19:09:52 +0000 (14:09 -0500)
committerMarshall Bockrath <llasram@gmail.com>
Thu, 14 Dec 2017 19:09:52 +0000 (14:09 -0500)
commit2ab773673be75e63b4a5e4cfabee1d9698a70ec0
tree022a106d3614a686f76c43eb34020674d3d9282b
parent869c99e7137cc6a83013fc092b94dbc90417629f
Provide dfrotz `f_setup.command_name` with an initial buffer

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.
src/dumb/dumb_init.c