summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl
diff options
context:
space:
mode:
authorDenys Fedoryshchenko <denys.f@collabora.com>2026-06-23 17:27:37 +0300
committerDenys Fedoryshchenko <denys.f@collabora.com>2026-06-23 17:36:34 +0300
commit8b781b94500f8d4144c9d5e8559605cbe69545dd (patch)
tree7f05ff2df4f4a3c3180d3721a2033189682a3c6b /accel-pppd/ctrl
parentafa315e928a3eb3d6e4e793303b08907013946fb (diff)
downloadaccel-ppp-8b781b94500f8d4144c9d5e8559605cbe69545dd.tar.gz
accel-ppp-8b781b94500f8d4144c9d5e8559605cbe69545dd.zip
sstp: reserve escaped async PPP FCS space
Diffstat (limited to 'accel-pppd/ctrl')
-rw-r--r--accel-pppd/ctrl/sstp/sstp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/ctrl/sstp/sstp.c b/accel-pppd/ctrl/sstp/sstp.c
index 21c519fa..154afcf8 100644
--- a/accel-pppd/ctrl/sstp/sstp.c
+++ b/accel-pppd/ctrl/sstp/sstp.c
@@ -1849,7 +1849,7 @@ static int sstp_recv_data_packet(struct sstp_conn_t *conn, struct sstp_hdr *hdr)
buf_put_data(buf, hdr->data, size);
#else
- buf = alloc_buf(size*2 + 2 + PPP_FCSLEN);
+ buf = alloc_buf(size*2 + 2 + PPP_FCSLEN*2);
if (!buf) {
log_error("sstp: no memory\n");
return -1;