]> git.feebdaed.xyz Git - 0xmirror/strongswan.git/commit
eap-mschapv2: Fix length check for successful responses on the client
authorTobias Brunner <tobias@strongswan.org>
Thu, 9 Oct 2025 09:29:30 +0000 (11:29 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 27 Oct 2025 13:02:59 +0000 (14:02 +0100)
commit9ef637e7820dd599db08ff2ca523e117797ea9a2
treef5b2249e74140ef1ef7f413b1fa5b6d81f0f1a45
parent4cf88da4d7c35f34f2896e05f504ff9e2ac73cef
eap-mschapv2: Fix length check for successful responses on the client

While wrong, this isn't an issue in practice as AUTH_RESPONSE_LEN is
long enough that subtracting HEADER_LEN is fine.

Fixes: f98cdf7a4765 ("adding plugin for EAP-MS-CHAPv2")
src/libcharon/plugins/eap_mschapv2/eap_mschapv2.c