From: "plaisthos (Code Review)" Date: Mon, 17 Feb 2025 12:04:13 +0000 In-Reply-To: References: Reply-To: arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641..., lstipakov@...277..., a@...2181... Message-ID: <2fa758334f58014ef493c3c2f441250734209ad3-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="F8E0FIDb0Q4="; charset=UTF-8 Subject: [Openvpn-devel] [M] Change in openvpn[master]: Implement override-username List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: stipa , flichtenheld , openvpn-devel --F8E0FIDb0Q4= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld, stipa. plaisthos has posted comments on this change. ( http://gerrit.openvpn.net/c= /openvpn/+/872?usp=3Demail ) Change subject: Implement override-username ...................................................................... Patch Set 5: (2 comments) File src/openvpn/auth_token.c: http://gerrit.openvpn.net/c/openvpn/+/872/comment/00564507_9759870a : PS5, Line 333: > spurious newline Done File src/openvpn/push.c: http://gerrit.openvpn.net/c/openvpn/+/872/comment/2902ac35_5cb0e350 : PS5, Line 601: char *base64user; > shouldn't we initialize it to NULL? We initialise the struct and zero it. This is a common pattern in OpenVPN t= hat we assume members to be either NULL or correctly set. -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/872?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: Ia4095518d5e4447992a2974e0d7a159d79ba6b6f Gerrit-Change-Number: 872 Gerrit-PatchSet: 5 Gerrit-Owner: plaisthos Gerrit-Reviewer: flichtenheld Gerrit-CC: openvpn-devel Gerrit-CC: ordex Gerrit-CC: stipa Gerrit-Attention: flichtenheld Gerrit-Attention: stipa Gerrit-Comment-Date: Mon, 17 Feb 2025 12:04:13 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: stipa Gerrit-MessageType: comment --F8E0FIDb0Q4= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: flichtenheld, stipa.

View C= hange

2 comments:

  • File src/openvpn/push.c:

    • Patch Set #5, Line 601: char *base64user;

      shouldn't = we initialize it to NULL?

      We initialise the struct and zero it. This is a c= ommon pattern in OpenVPN that we assume members to be either NULL or correc= tly set.

  • To view, visit change 872. To unsubscribe, or= for help writing mail filters, visit settings.

    <= /div>
    Gerrit-Project: openvpn
    Gerrit-Branch: master
    Gerrit-Change-Id: Ia4095518d5e4447992a2974e0d7= a159d79ba6b6f
    Gerrit-Change-Number: 872
    Gerrit-PatchSet: 5
    Gerrit-Owner: plaisthos <arne-openvpn@...1711...= 27...>
    Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
    Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
    Gerrit-CC: ordex <a@...2181...>
    Gerrit-CC: stipa <lstipakov@...277...> <= /div>
    Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
    Gerrit-Attention: stipa <lstipakov@...1663...= .>
    Gerrit-Comment-Date: Mon, 17 Feb 2025 12:04:13= +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: stipa <lstipakov@...1664...= 7...>
    Gerrit-MessageType: comment
    --F8E0FIDb0Q4=--