From: "MaxF (Code Review)" Date: Fri, 26 Sep 2025 16:16:40 +0000 In-Reply-To: References: Reply-To: max@...2606..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="djiN+7j78q4="; charset=UTF-8 Subject: [Openvpn-devel] [M] Change in openvpn[master]: platform: Do not assume uid_t/gid_t are signed List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: flichtenheld Cc: plaisthos , openvpn-devel --djiN+7j78q4= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld, plaisthos. MaxF has posted comments on this change. ( http://gerrit.openvpn.net/c/open= vpn/+/1206?usp=3Demail ) Change subject: platform: Do not assume uid_t/gid_t are signed ...................................................................... Patch Set 2: Code-Review+2 (2 comments) File src/openvpn/platform.c: http://gerrit.openvpn.net/c/openvpn/+/1206/comment/cfa9da6d_0cb4d448 : PS2, Line 87: if (!pw) : { : msg(M_ERR, "failed to find UID for user %s", user= name); : } > Note the CLEAR() at the top of the function Oops, you're right! http://gerrit.openvpn.net/c/openvpn/+/1206/comment/65848078_10dc0c02 : PS2, Line 131: if (!gr) : { : msg(M_ERR, "failed to find GID for group %s", gr= oupname); : } > Note the CLEAR() at the top of the function Done -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1206?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: Ie6b4c41d13544d5ba71d441cc794c7abd12408f3 Gerrit-Change-Number: 1206 Gerrit-PatchSet: 2 Gerrit-Owner: flichtenheld Gerrit-Reviewer: MaxF Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: flichtenheld Gerrit-Comment-Date: Fri, 26 Sep 2025 16:16:40 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes Comment-In-Reply-To: flichtenheld Comment-In-Reply-To: MaxF Gerrit-MessageType: comment --djiN+7j78q4= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: flichtenheld, plaisthos.

Patch set 2:Code-Review +2=

V= iew Change

2 comments:

  • File src/openvpn/platform.c:

    • Patch Set #2, Line = 87:

              if (!pw)
      {
      msg(M_ERR= , "failed to find UID for user %s", username);
      }

      Note the CLEAR() at the top of the functio= n

      Patch Set #2, Line 131:

              if (!gr)
      {
      msg(M_ERR, "fai= led to find GID for group %s", groupname);
      }

      Note the CLEAR() at the top of the function

      Done

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

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ie6b4c41d13544d5ba71d441cc79= 4c7abd12408f3
Gerrit-Change-Number: 1206
Gerrit-PatchSet: 2
Gerrit-Owner: flichtenheld <frank@...2723...= .>
Gerrit-Reviewer: MaxF <max@...2606...> <= /div>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
Gerrit-Comment-Date: Fri, 26 Sep 2025 16:16:40= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: flichtenheld <frank@...1186...= .2641...>
Comment-In-Reply-To: MaxF <max@...2606...&g= t;
Gerrit-MessageType: comment
--djiN+7j78q4=--