This is sort of "obviously correct", if one looks at the check before
that (10 lines up) - msg("Disallow float"); mi->context.c2.buf.len = 0;
It's a bit of an obscure edge case, but a bug nonetheless...
Your patch has been applied to the master.
The code in release/2.7 does not have the "locked username" check.
commit ba6967b7f023651c42e32b0d4f4b5279692e0778 (master)
Author: Arne Schwabe
Date: Wed Oct 28 13:22:20 2026 +0100
Mark buffer invalid with username mismatch in server side float
Signed-off-by: Arne Schwabe <[email protected]>
Acked-by: Razvan Cojocaru <[email protected]>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2058
Message-Id: <[email protected]>
URL:
https://www.mail-archive.com/[email protected]/msg40227.html
Signed-off-by: Gert Doering <[email protected]>
--
kind regards,
Gert Doering
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel