Arne Schwabe has uploaded this change for review. ( 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 case kike 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]> --- M src/openvpn/multi.c 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/58/2058/1 diff --git a/src/openvpn/multi.c b/src/openvpn/multi.c index e302a81..caee3ff 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: newchange Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: Ide5a3064e51d4a22f914e76c1d8165fdd4d005f4 Gerrit-Change-Number: 2058 Gerrit-PatchSet: 1 Gerrit-Owner: Arne Schwabe <[email protected]> Gerrit-CC: openvpn-devel <[email protected]>
_______________________________________________ Openvpn-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-devel
