Gert Doering has submitted this change. ( https://gerrit.openvpn.net/c/openvpn/+/2058?usp=email )
Change subject: Mark buffer invalid with username mismatch in server side float ...................................................................... Mark buffer invalid with username mismatch in server side float Commit d42a9912c1 introduced a check to ensure that also the username is identical for floats and not only the certificate. This check did not mark the buffer as invalid in those cases like the certificate check. Reported-by: QiuYiati on https://github.com/OpenVPN/openvpn/issues/1137 GitHub: closes OpenVPN/openvpn#1137 Change-Id: Ide5a3064e51d4a22f914e76c1d8165fdd4d005f4 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]> --- M src/openvpn/multi.c 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/src/openvpn/multi.c b/src/openvpn/multi.c index 2e804ff..f211ef3 100644 --- a/src/openvpn/multi.c +++ b/src/openvpn/multi.c @@ -3172,6 +3172,7 @@ { msg(D_MULTI_LOW, "Disallow float/connect to an address taken by another client %s", multi_instance_string(ex_mi, false, &gc)); + mi->context.c2.buf.len = 0; goto done; } } -- To view, visit https://gerrit.openvpn.net/c/openvpn/+/2058?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.openvpn.net/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: Ide5a3064e51d4a22f914e76c1d8165fdd4d005f4 Gerrit-Change-Number: 2058 Gerrit-PatchSet: 5 Gerrit-Owner: Arne Schwabe <[email protected]> Gerrit-Reviewer: Răzvan Cojocaru <[email protected]> Gerrit-CC: openvpn-devel <[email protected]>
_______________________________________________ Openvpn-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-devel
