Skip to content
Snippets Groups Projects
Commit 0d69795a authored by rswindell's avatar rswindell
Browse files

if sbbs_t::exec_bin() is called with a blank or NULL module name, just

return an error value (-33, it's the magic number).
parent 43176e34
Branches
Tags
No related merge requests found
......@@ -742,6 +742,8 @@ long sbbs_t::exec_bin(const char *cmdline, csi_t *csi, const char* startup_dir)
int file;
csi_t bin;
if(cmdline == NULL || *cmdline == 0)
return -33;
SAFECOPY(mod,cmdline);
p=mod;
FIND_CHAR(p,' ');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment