From: "MaxF (Code Review)"
Date: Wed, 24 Sep 2025 16:33:31 +0000
In-Reply-To:
References:
Reply-To: max@...2606..., arne-openvpn@...1227...,
openvpn-devel@lists.sourceforge.net, frank@...2641...
Message-ID: <6bf6c44f76ae12d2c9397c98b71b1f0e5ecfa16f-EmailReviewComments-HTML@...2715...>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Content-Type: multipart/alternative; boundary="1aaFTfSlPss="; 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
--1aaFTfSlPss=
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:
(2 comments)
File src/openvpn/platform.c:
http://gerrit.openvpn.net/c/openvpn/+/1206/comment/933bb202_973498c6 :
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 struct =
is initialized with 0?
http://gerrit.openvpn.net/c/openvpn/+/1206/comment/a4d30325_3994e017 :
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?
--
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: flichtenheld
Gerrit-Comment-Date: Wed, 24 Sep 2025 16:33:31 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
--1aaFTfSlPss=
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: flichtenheld, plaisthos.
View =
Change
2 comments:
Shouldn't we set user_valid to false here? Or do we assume that the st=
ruct is initialized with 0?
Patch Set #2, Line 131: <=
/p>
if (!gr)
{
msg(M_ERR, "f=
ailed to find GID for group %s", groupname);
}
Sh=
ouldn't we set group_valid to false here?
To =
view, visit change 1206. To unsubscribe, or for help writing mail filters, visi=
t 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: flichtenheld <frank@...2375...=
41...>
Gerrit-Comment-Date: Wed, 24 Sep 2025 16:33:31=
+0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
--1aaFTfSlPss=--