From: "d12fk (Code Review)" Date: Fri, 31 Oct 2025 18:41:15 +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="Lbr9y5QYnYE="; 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 --Lbr9y5QYnYE= 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 2: (1 comment) File src/openvpnserv/validate.c: http://gerrit.openvpn.net/c/openvpn/+/1307/comment/af7d5233_8513dfb0?usp=3D= email : PS2, Line 80: return res =3D=3D S_OK && wcsncmp(config_path, s->config_= dir, wcslen(s->config_dir)) =3D=3D 0; > https://github. [=E2=80=A6] Okay, I think optionally adding a \ when settings_t.config_dir is set makes= more sense, as it would apply to any other (future) use as well then. Will= add a commit dealing with that. -- 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: 2 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: Fri, 31 Oct 2025 18:41:15 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: d12fk Comment-In-Reply-To: selvanair --Lbr9y5QYnYE= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

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

View = Change

1 comment:

    =
  • File src/openvpnserv/validate.c:

    • Patch Se= t #2, Line 80: retu= rn res =3D=3D S_OK && wcsncmp(config_path, s->config_dir, wcslen= (s->config_dir)) =3D=3D 0;

      https://github. [=E2=80= =A6]

      Okay, I think optionally adding a \ when settings_t.c= onfig_dir is set makes more sense, as it would apply to any other (future) = use as well then. Will add a commit dealing with that.

  • To view, visit change 1307. To unsubscribe, or for help writing mail filt= ers, visit setti= ngs.

    Gerrit-MessageType: comment
    Gerrit-Project: openvpn
    Gerrit-Branch: master
    Gerrit-Change-Id: I0e94068f467f2899daf133b032a= 785d2d7fc05e4
    Gerrit-Change-Number: 1307
    Gerrit-PatchSet: 2
    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: Fri, 31 Oct 2025 18:41:15= +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: d12fk <heiko@...515...= >
    Comment-In-Reply-To: selvanair <selva.nair@= ...277...>
    = --Lbr9y5QYnYE=--