Skip to content

Commit

Permalink
fix misuse of write_new_config callback by GP, causing Java crashes
Browse files Browse the repository at this point in the history
  • Loading branch information
dlenski committed Aug 6, 2018
1 parent f06b564 commit 7b55144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auth-globalprotect.c
Expand Up @@ -295,7 +295,7 @@ static int parse_portal_xml(struct openconnect_info *vpninfo, xmlNode *xml_node)
buf_append(buf, " </ServerList>\n</GPPortal>\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;
}

Expand Down

0 comments on commit 7b55144

Please sign in to comment.