]> www.infradead.org Git - users/dwmw2/openconnect.git/commitdiff
fix for #802
authorVincent Magnin <Vincent.Magnin@unil.ch>
Mon, 14 Jul 2025 06:58:05 +0000 (08:58 +0200)
committerVincent Magnin <Vincent.Magnin@unil.ch>
Wed, 20 Aug 2025 06:08:17 +0000 (08:08 +0200)
Find an additionnal header when reading report of CVE-2025-0282 and #439

Tested, and, seems to fix the issue

Signed-off-by: Vincent Magnin <Vincent.Magnin@unil.ch>
pulse.c

diff --git a/pulse.c b/pulse.c
index 558895fbb70af487707d88684fca35be79412b62..9d40b3c6cde290b0e556437214c86ef44a1ed3a0 100644 (file)
--- a/pulse.c
+++ b/pulse.c
@@ -1449,6 +1449,7 @@ static int pulse_authenticate(struct openconnect_info *vpninfo, int connecting)
        }
        if (bytes[0])
                buf_append(reqbuf, " clientIp=%s", bytes);
+       buf_append(reqbuf, " clientCapabilities={}");
        buf_append(reqbuf, "\n%c", 0);
        ret = send_ift_packet(vpninfo, reqbuf);
        if (ret)