From: David Woodhouse Date: Wed, 24 Jul 2019 11:02:44 +0000 (+0100) Subject: Increase buffer size for oNCP configuration X-Git-Tag: v8.04~7 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=31ff2f6551e6a276ea575cf95948bc557f996e52;p=users%2Fdwmw2%2Fopenconnect.git Increase buffer size for oNCP configuration This fixes https://bugzilla.redhat.com/show_bug.cgi?id=1729693 Signed-off-by: David Woodhouse --- diff --git a/oncp.c b/oncp.c index 8a3e178e..97a6020d 100644 --- a/oncp.c +++ b/oncp.c @@ -543,7 +543,7 @@ int oncp_connect(struct openconnect_info *vpninfo) { int ret, len, kmp, kmplen, group, check_len; struct oc_text_buf *reqbuf; - unsigned char bytes[16384]; + unsigned char bytes[65536]; /* XXX: We should do what cstp_connect() does to check that configuration hasn't changed on a reconnect. */