]> git.ipfire.org Git - people/ms/strongswan.git/commit
ike: Fix prefix length and data of vendor ID Cisco VPN Concentrator
authorVolker RĂ¼melin <vr_strongswan@t-online.de>
Mon, 1 Nov 2021 13:49:17 +0000 (14:49 +0100)
committerTobias Brunner <tobias@strongswan.org>
Wed, 3 Nov 2021 10:01:09 +0000 (11:01 +0100)
commit9747376c698c326514623ad741f1582f14bc60d1
tree4ce38fb05bb622d7b2ff9e118dcc70af80452e41
parent865a387c6caafb3b19901cd7fe01db29e58db986
ike: Fix prefix length and data of vendor ID Cisco VPN Concentrator

Currently the length of vendor ID Cisco VPN Concentrator is 16
bytes but the string has only 13+1 bytes. The actual vendor
ID has 16 bytes with a prefix length of 14 bytes and two version
bytes.

Fixes: 6c49ddfbca72 ("ike: Add additional Vendor IDs for third-party implementations")
src/libcharon/sa/ikev1/tasks/isakmp_vendor.c
src/libcharon/sa/ikev2/tasks/ike_vendor.c