Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 0d69795a authored by rswindell's avatar rswindell

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
......@@ -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,' ');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment