Attention is currently required from: Arne Schwabe.

Hello Răzvan Cojocaru,

I'd like you to reexamine a change. Please visit

    https://gerrit.openvpn.net/c/openvpn/+/2058?usp=email

to look at the new patch set (#4).

The change is no longer submittable: checks~ChecksSubmitRule is unsatisfied now.


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]>
---
M src/openvpn/multi.c
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/58/2058/4

diff --git a/src/openvpn/multi.c b/src/openvpn/multi.c
index 79e6bae..055305d 100644
--- a/src/openvpn/multi.c
+++ b/src/openvpn/multi.c
@@ -3169,6 +3169,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: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ide5a3064e51d4a22f914e76c1d8165fdd4d005f4
Gerrit-Change-Number: 2058
Gerrit-PatchSet: 4
Gerrit-Owner: Arne Schwabe <[email protected]>
Gerrit-Reviewer: Răzvan Cojocaru <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: Arne Schwabe <[email protected]>
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to