From: "cron2 (Code Review)" Date: Wed, 26 Nov 2025 11:16:58 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., heiko@...515..., openvpn-devel@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="OpMrW5aSGlA="; 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: d12fk Cc: plaisthos , openvpn-devel --OpMrW5aSGlA= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/13= 95?usp=3Demail ) 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 Acked-by: Gert Doering Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1395 Message-Id: <20251126104938.5612-1-gert@...1296...> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg34= 678.html Signed-off-by: Gert Doering --- M src/openvpnserv/interactive.c 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/openvpnserv/interactive.c b/src/openvpnserv/interactive.c index ce37ac2f..13e303a 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: merged Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I3ebf30f6d9edc66eb54fb3f1b5634c96d156b1ca Gerrit-Change-Number: 1395 Gerrit-PatchSet: 4 Gerrit-Owner: d12fk Gerrit-Reviewer: cron2 Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel --OpMrW5aSGlA= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

cron2 sub= mitted this change.

View Change

iservice: fix off by one error

In case th= ere 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 w= as ignored when converting to MULTI_SZ.

Reported-by: Marc Heuse <= marc@...2953...>
Reported-by: stephan@...2953...
Change-Id: I3ebf3= 0f6d9edc66eb54fb3f1b5634c96d156b1ca
Signed-off-by: Heiko Hund <heiko@= ...2662...>
Acked-by: Gert Doering <gert@...1296...>
Gerrit = URL: https://gerrit.openvpn.net/c/openvpn/+/1395
Message-Id: <2025112= 6104938.5612-1-gert@...1296...>
URL: https://www.mail-archive.com/ope= nvpn-devel@lists.sourceforge.net/msg34678.html
Signed-off-by: Gert Doeri= ng <gert@...1296...>
---
M src/openvpnserv/interactive.c
1 f= ile changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/openvpnserv/interactive.c b/src/openvpnserv/interactive=
.c
index ce37ac2f..13e303a 100644
--- a/src= /openvpnserv/interactive.c
+++ b/src/openvpnserv/interactiv= e.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 change 1395. To unsubsc= ribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: merged
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I3ebf30f6d9edc66eb54fb3f1b56= 34c96d156b1ca
Gerrit-Change-Number: 1395
Gerrit-PatchSet: 4
Gerrit-Owner: d12fk <heiko@...515...>
Gerrit-Reviewer: cron2 <gert@...1296...>=
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
= --OpMrW5aSGlA=--