From: "d12fk (Code Review)" Date: Thu, 6 Nov 2025 21:00:07 +0000 In-Reply-To: References: Reply-To: heiko@...515..., arne-openvpn@...1227..., selva.nair@...277..., openvpn-devel@lists.sourceforge.net, frank@...2641..., gert@...1296... Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="5e5+GSKSj4M="; charset=UTF-8 Subject: [Openvpn-devel] [S] Change in openvpn[master]: iservice: validate config path better List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: selvanair , plaisthos , flichtenheld , openvpn-devel --5e5+GSKSj4M= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: cron2, flichtenheld, plaisthos, selva= nair. d12fk has posted comments on this change by d12fk. ( http://gerrit.openvpn.= net/c/openvpn/+/1307?usp=3Demail ) Change subject: iservice: validate config path better ...................................................................... Patch Set 3: (2 comments) File src/openvpnserv/validate.c: http://gerrit.openvpn.net/c/openvpn/+/1307/comment/14df14a0_d3e23416?usp=3D= email : PS3, Line 88: HRESULT res =3D PathCchCanonicalizeEx(config_dir, _counto= f(config_dir), s->config_dir, > As you are effectively reverting commit 05a8ba808, also remove "HAVE_PATH= CCH_ENSURE_TRAILING_SLASH" [=E2=80=A6] Done in #1354 http://gerrit.openvpn.net/c/openvpn/+/1307/comment/2e5dfd92_b85abcb8?usp=3D= email : PS3, Line 85: return res =3D=3D S_OK && wcsncmp(config_path, s->config_= dir, wcslen(s->config_dir)) =3D=3D 0; > While at it, make this case insensitve. Done -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1307?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings?usp=3Demail Gerrit-MessageType: comment Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I0e94068f467f2899daf133b032a785d2d7fc05e4 Gerrit-Change-Number: 1307 Gerrit-PatchSet: 3 Gerrit-Owner: d12fk Gerrit-Reviewer: cron2 Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-CC: selvanair Gerrit-Attention: plaisthos Gerrit-Attention: cron2 Gerrit-Attention: flichtenheld Gerrit-Attention: selvanair Gerrit-Comment-Date: Thu, 06 Nov 2025 21:00:07 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: selvanair --5e5+GSKSj4M= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is cur= rently required from: cron2, flichtenheld, plaisthos, selvanair.

View = Change

2 comments:

  • File src/openvpnserv/validate.c:

    • Patch S= et #3, Line 88: HRE= SULT res =3D PathCchCanonicalizeEx(config_dir, _countof(config_dir), s->= config_dir,

      As you are effectively reverting commit 0= 5a8ba808, also remove "HAVE_PATHCCH_ENSURE_TRAILING_SLASH" [=E2= =80=A6]

      Done in #1354

    • Patch = Set #3, Line 85: re= turn res =3D=3D S_OK && wcsncmp(config_path, s->config_dir, wcsl= en(s->config_dir)) =3D=3D 0;

      While at it, make thi= s case insensitve.

      Done

To view,= visit c= hange 1307. To unsubscribe, or for help writing mail filters, visit settings.

<= meta itemprop=3D"name" content=3D"View Change"/>
Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I0e94068f467f2899daf133b032a= 785d2d7fc05e4
Gerrit-Change-Number: 1307
Gerrit-PatchSet: 3
Gerrit-Owner: d12fk <heiko@...515...>
Gerrit-Reviewer: cron2 <gert@...1296...>=
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-CC: selvanair <selva.nair@...277...&= gt;
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-Attention: cron2 <gert@...1296...>= ;
Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
Gerrit-Attention: selvanair <selva.nair@...493...= 277...>
Gerrit-Comment-Date: Thu, 06 Nov 2025 21:00:07= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: selvanair <selva.nair@= ...277...>
= --5e5+GSKSj4M=--