From: "flichtenheld (Code Review)" Date: Wed, 24 Sep 2025 16:38:22 +0000 In-Reply-To: References: Reply-To: frank@...2641..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, max@...2606... Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="FZ0mTEKiD8I="; 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: , Cc: MaxF , plaisthos , openvpn-devel --FZ0mTEKiD8I= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: MaxF, plaisthos. flichtenheld has posted comments on this change. ( http://gerrit.openvpn.ne= t/c/openvpn/+/1206?usp=3Demail ) Change subject: platform: Do not assume uid_t/gid_t are signed ...................................................................... Patch Set 2: (2 comments) File src/openvpn/platform.c: http://gerrit.openvpn.net/c/openvpn/+/1206/comment/a79064f0_5ff830e6 : PS2, Line 87: if (!pw) : { : msg(M_ERR, "failed to find UID for user %s", user= name); : } > Shouldn't we set user_valid to false here? Or do we assume that the struc= t is initialized with 0? Note the CLEAR() at the top of the function http://gerrit.openvpn.net/c/openvpn/+/1206/comment/98e9e861_73fba2fc : PS2, Line 131: if (!gr) : { : msg(M_ERR, "failed to find GID for group %s", gr= oupname); : } > Shouldn't we set group_valid to false here? Note the CLEAR() at the top of the function -- 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: plaisthos Gerrit-CC: MaxF Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: MaxF Gerrit-Comment-Date: Wed, 24 Sep 2025 16:38:22 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: MaxF Gerrit-MessageType: comment --FZ0mTEKiD8I= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: MaxF, plaisthos.

View = Change

2 comments:

To view, = visit ch= ange 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: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: MaxF <max@...2606...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-Attention: MaxF <max@...2606...> =
Gerrit-Comment-Date: Wed, 24 Sep 2025 16:38:22= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: MaxF <max@...2606...&g= t;
Gerrit-MessageType: comment
--FZ0mTEKiD8I=--