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

Commits (1)
  • Deucе's avatar
    Ensure line isn't valid is it's not read in parse_string() · 45f69797
    Deucе authored
    Thus appears to have been the root cause of the infinite loop/memory
    issue.  Basically, line was never replaced if it didn't match
    ^{[0-9]+}$ and didn't result in a number when passed to parseInt()
    This resulted in an infinite loop that kept pushing zero-length
    strings into an array.
    45f69797
......@@ -716,6 +716,9 @@ function parse_command(line)
ret=client.socket.recv(len);
line=client.socket.recvline(10240, 1800);
}
else {
line = undefined;
}
return(ret);
}
......