From: "cron2 (Code Review)"
Date: Wed, 12 Nov 2025 10:40:40 +0000
In-Reply-To:
References:
Reply-To: gert@...1296..., arne-openvpn@...1227..., heiko@...515...,
openvpn-devel@lists.sourceforge.net, frank@...2641...,
lstipakov@...277...
Message-ID:
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Content-Type: multipart/alternative; boundary="yhbQ1ApgJ6s="; charset=UTF-8
Subject: [Openvpn-devel] [XS] Change in openvpn[master]: iservice: validate
config path case-insensitive
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
To: d12fk , plaisthos , flichtenheld , stipa
Cc: openvpn-devel
--yhbQ1ApgJ6s=
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
cron2 has uploaded a new patch set (#4) to the change originally created by=
d12fk. ( http://gerrit.openvpn.net/c/openvpn/+/1362?usp=3Demail )
The following approvals got outdated and were removed:
Code-Review+2 by stipa
Change subject: iservice: validate config path case-insensitive
......................................................................
iservice: validate config path case-insensitive
Windows filesystems do not differentiate by case, so we shouldn't either.
Reported-by: stephan@...2953...
Change-Id: I4d905da3add9b8a3daf349eb1bc830a017cf493d
Signed-off-by: Heiko Hund
Acked-by: Lev Stipakov
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1362
Message-Id: <20251112093911.24196-1-gert@...1296...>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg34=
340.html
Signed-off-by: Gert Doering
---
M src/openvpnserv/validate.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/62/1362/4
diff --git a/src/openvpnserv/validate.c b/src/openvpnserv/validate.c
index b3189b7..3381503 100644
--- a/src/openvpnserv/validate.c
+++ b/src/openvpnserv/validate.c
@@ -78,7 +78,7 @@
res =3D PathCchCanonicalize(config_path, _countof(config_path), fn=
ame);
}
- return res =3D=3D S_OK && wcsncmp(config_path, s->config_dir, wcslen(s=
->config_dir)) =3D=3D 0;
+ return res =3D=3D S_OK && wcsnicmp(config_path, s->config_dir, wcslen(=
s->config_dir)) =3D=3D 0;
}
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1362?usp=3Demail
To unsubscribe, or for help writing mail filters, visit http://gerrit.openv=
pn.net/settings?usp=3Demail
Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I4d905da3add9b8a3daf349eb1bc830a017cf493d
Gerrit-Change-Number: 1362
Gerrit-PatchSet: 4
Gerrit-Owner: d12fk
Gerrit-Reviewer: flichtenheld
Gerrit-Reviewer: plaisthos
Gerrit-Reviewer: stipa
Gerrit-CC: openvpn-devel
--yhbQ1ApgJ6s=
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
cron2 upl=
oaded patch set #4 to the change originally created by d12fk.
<=
p>View C=
hange
The following approvals got outdated and were removed:
Code-Review+2 by stipa
iservice: validate config path case=
-insensitive Windows filesystems do not differentiate by case, so we=
shouldn't either. Reported-by: stephan@...2953... Change-Id:=
I4d905da3add9b8a3daf349eb1bc830a017cf493d Signed-off-by: Heiko Hund <=
;heiko@...2662...> Acked-by: Lev Stipakov <lstipakov@...277...>=
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1362 Message-Id: =
<20251112093911.24196-1-gert@...1296...> URL: https://www.mail-arc=
hive.com/openvpn-devel@lists.sourceforge.net/msg34340.html Signed-off-by=
: Gert Doering <gert@...1296...> --- M src/openvpnserv/validate=
.c 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/62/1362/4<=
/pre>diff --git a/src/openvpnserv/validate.c b/src/openvpnserv/validate.=
c index b3189b7..3381503 100644 --- a/src/o=
penvpnserv/validate.c +++ b/src/openvpnserv/validate.c@@ -78,7 +78,7 @@ res =3D PathCchCanon=
icalize(config_path, _countof(config_path), fname); }<=
/span> - =
return res =3D=3D S_OK && wcsncmp(config_path, s->config_dir, wc=
slen(s->config_dir)) =3D=3D 0; + return res =3D=3D S_OK && wcsnicmp(config_path, s=
->config_dir, wcslen(s->config_dir)) =3D=3D 0; } To vie=
w, visit change 1362 . To unsubscribe, or for help writing mail filters, visit <=
a href=3D"http://gerrit.openvpn.net/settings?usp=3Demail">settings.
=
<=
meta itemprop=3D"name" content=3D"View Change"/>
Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I4d905da3add9b8a3daf349eb1bc=
830a017cf493d
Gerrit-Change-Number: 1362
Gerrit-PatchSet: 4
Gerrit-Owner: d12fk <heiko@...515...> =
div>
Gerrit-Reviewer: flichtenheld <frank@...2716...=
1...>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...=
.1227...>
Gerrit-Reviewer: stipa <lstipakov@...277...=
>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...=
ts.sourceforge.net>
=
--yhbQ1ApgJ6s=--