From: "d12fk (Code Review)" Date: Sun, 23 Nov 2025 06:47:35 +0000 References: Reply-To: heiko@...515..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="4l98NjOwxHc="; charset=UTF-8 Subject: [Openvpn-devel] [XS] Change in openvpn[master]: iservice: fix off by one error List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: plaisthos Cc: openvpn-devel --4l98NjOwxHc= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: plaisthos. Hello plaisthos, I'd like you to do a code review. Please visit http://gerrit.openvpn.net/c/openvpn/+/1395?usp=3Demail to review the following change. Change subject: iservice: fix off by one error ...................................................................... iservice: fix off by one error In case there is more than one non-ignored interface domain, the start of the next domain was off by one glyph. That meant that all but the first domain was ignored when converting to MULTI_SZ. Reported-by: Marc Heuse Reported-by: stephan@...2953... Change-Id: I3ebf30f6d9edc66eb54fb3f1b5634c96d156b1ca Signed-off-by: Heiko Hund --- M src/openvpnserv/interactive.c 1 file changed, 2 insertions(+), 1 deletion(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/95/1395/1 diff --git a/src/openvpnserv/interactive.c b/src/openvpnserv/interactive.c index 8916bea..6818122 100644 --- a/src/openvpnserv/interactive.c +++ b/src/openvpnserv/interactive.c @@ -2234,7 +2234,8 @@ return NO_ERROR; } - pos =3D comma + 1; + /* Comma pos is now +1 after adding leading dot */ + pos =3D comma + 2; } } } -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1395?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings?usp=3Demail Gerrit-MessageType: newchange Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I3ebf30f6d9edc66eb54fb3f1b5634c96d156b1ca Gerrit-Change-Number: 1395 Gerrit-PatchSet: 1 Gerrit-Owner: d12fk Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos --4l98NjOwxHc= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is cur= rently required from: plaisthos.

d12fk would like plaisthos to review this change.

V= iew Change

iservice: fix off by one error

In ca= se there is more than one non-ignored interface domain, the start
of the= next domain was off by one glyph. That meant that all but the
first dom= ain was ignored when converting to MULTI_SZ.

Reported-by: Marc Heuse= <marc@...2953...>
Reported-by: stephan@...2953...
Change-Id: I= 3ebf30f6d9edc66eb54fb3f1b5634c96d156b1ca
Signed-off-by: Heiko Hund <h= eiko@...2662...>
---
M src/openvpnserv/interactive.c
1 file cha= nged, 2 insertions(+), 1 deletion(-)

git pull ss=
h://gerrit.openvpn.net:29418/openvpn refs/changes/95/1395/1
diff --=
git a/src/openvpnserv/interactive.c b/src/openvpnserv/interactive.c<=
br>index 8916bea..6818122 100644
--- a/src/openvpnser= v/interactive.c
+++ b/src/openvpnserv/interactive.c<= br>@@ -2234,7 +2234,8 @@
return = NO_ERROR;
}

- pos =3D comma + 1;=
+ /* = Comma pos is now +1 after adding leading dot */
+ pos =3D comma + 2;
}
}
}=

To view, visit change 1395. To unsubscribe, or fo= r help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I3ebf30f6d9edc66eb54fb3f1b56= 34c96d156b1ca
Gerrit-Change-Number: 1395
Gerrit-PatchSet: 1
Gerrit-Owner: d12fk <heiko@...515...>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
= --4l98NjOwxHc=--