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

Commit 12ac1fc4 authored by Rob Swindell's avatar Rob Swindell 💬

Accept hex headers terminated with 0x8A

Some ZMODEM implementations set the high bit (even parity?) when sending this '\n' terminator.
As reported via IRC:
<Keyop> sexyz: !zmodem_recv_hex_header HEX header not terminated with LF: 138 (8Ah)
parent b6411a36
Pipeline #1314 passed with stage
in 9 minutes and 31 seconds
......@@ -1166,7 +1166,7 @@ BOOL zmodem_recv_hex_header(zmodem_t* zm)
c = zmodem_rx(zm); /* drop LF */
if(c != '\n') {
if(c != '\n' && c != 0x8A) {
lprintf(zm, LOG_ERR, "%s HEX header not terminated with LF: %s"
,__FUNCTION__, chr(c));
return FALSE;
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