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 e050a7fa authored by rswindell's avatar rswindell

Protect protocol section from bogus pointers if file prematurely terminated

(corrupted).
parent dc1a3c74
......@@ -248,6 +248,7 @@ BOOL read_file_cfg(scfg_t* cfg, char* error)
for(j=0;j<8;j++)
get_int(n,instream);
}
cfg->total_prots=i;
/************************/
/* Alternate File Paths */
......
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