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 f3e4a6e4 authored by Rob Swindell's avatar Rob Swindell 💬

Use SAFECAT() instead of strcat() for more safety.

parent 3b89e2e4
......@@ -2292,7 +2292,7 @@ int unpack(const char *infile, const char* outdir)
break;
}
sprintf(tmp,"%02X",ch);
strcat(str,tmp);
SAFECAT(str,tmp);
}
if(!stricmp(str,cfg.arcdef[u].hexid))
break;
......
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