From 7b5514498229880cc794f4a3694c8e1db9f6fa04 Mon Sep 17 00:00:00 2001 From: Daniel Lenski Date: Mon, 6 Aug 2018 12:22:27 -0700 Subject: [PATCH] fix misuse of write_new_config callback by GP, causing Java crashes --- auth-globalprotect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth-globalprotect.c b/auth-globalprotect.c index b70d6a6c..5c4dfe73 100644 --- a/auth-globalprotect.c +++ b/auth-globalprotect.c @@ -295,7 +295,7 @@ static int parse_portal_xml(struct openconnect_info *vpninfo, xmlNode *xml_node) buf_append(buf, " \n\n"); if ((result = buf_error(buf))) goto out; - if ((result = vpninfo->write_new_config(vpninfo, buf->data, buf->pos))) + if ((result = vpninfo->write_new_config(vpninfo->cbdata, buf->data, buf->pos))) goto out; }