From: "cron2 (Code Review)" Date: Mon, 3 Nov 2025 15:10:44 +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: <3be22a31918c93fcca3faf30b05020b180d5b522-EmailReplacePatchSet-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="mqLl5oGIMUY="; charset=UTF-8 Subject: [Openvpn-devel] [XS] Change in openvpn[master]: iservice: fix DNS address list generation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: d12fk , plaisthos , flichtenheld , stipa Cc: openvpn-devel --mqLl5oGIMUY= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable cron2 has uploaded a new patch set (#2) to the change originally created by= d12fk. ( http://gerrit.openvpn.net/c/openvpn/+/1339?usp=3Demail ) The following approvals got outdated and were removed: Code-Review+2 by stipa Change subject: iservice: fix DNS address list generation ...................................................................... iservice: fix DNS address list generation While generating the address list string for the DNS server addresses, to be set in the registry, the offset is calculated the wrong way. This results in gaps between addresses after the first two. Reported-By: aarnav@...2953... Change-Id: I7252d5a252e91ffc03db142aa226c9eb1656480b Signed-off-by: Heiko Hund Acked-by: Lev Stipakov Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1339 Message-Id: <20251103115945.6615-1-gert@...1296...> Signed-off-by: Gert Doering --- M src/openvpnserv/interactive.c 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/39/1339/2 diff --git a/src/openvpnserv/interactive.c b/src/openvpnserv/interactive.c index 577d89c..58f1e02 100644 --- a/src/openvpnserv/interactive.c +++ b/src/openvpnserv/interactive.c @@ -1873,7 +1873,7 @@ { RtlIpv4AddressToStringA(&msg->addr[i].ipv4, addrs + offset= ); } - offset +=3D strlen(addrs); + offset =3D strlen(addrs); } err =3D SetNameServers(iid, msg->family, addrs); -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1339?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: I7252d5a252e91ffc03db142aa226c9eb1656480b Gerrit-Change-Number: 1339 Gerrit-PatchSet: 2 Gerrit-Owner: d12fk Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-Reviewer: stipa Gerrit-CC: openvpn-devel --mqLl5oGIMUY= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

cron2 upl= oaded patch set #2 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: fix DNS address list gene=
ration

While generating the address list string for the DNS server a= ddresses,
to be set in the registry, the offset is calculated the wrong = way. This
results in gaps between addresses after the first two.

= Reported-By: aarnav@...2953...

Change-Id: I7252d5a252e91ffc03db142aa= 226c9eb1656480b
Signed-off-by: Heiko Hund <heiko@...2662...>
Ac= ked-by: Lev Stipakov <lstipakov@...277...>
Gerrit URL: https://ger= rit.openvpn.net/c/openvpn/+/1339
Message-Id: <20251103115945.6615-1-g= ert@...1296...>
Signed-off-by: Gert Doering <gert@...1296...>---
M src/openvpnserv/interactive.c
1 file changed, 1 insertion(+),= 1 deletion(-)

git pull ssh://gerrit.openvpn.net=
:29418/openvpn refs/changes/39/1339/2
diff --git a/src/openvpnserv/=
interactive.c b/src/openvpnserv/interactive.c
index 577d89c= ..58f1e02 100644
--- a/src/openvpnserv/interactive.c=
+++ b/src/openvpnserv/interactive.c
@@ -1873,7 +1= 873,7 @@
{
Rt= lIpv4AddressToStringA(&msg->addr[i].ipv4, addrs + offset); }
-= offset +=3D strlen(addrs);
+ offset =3D strlen(addrs);
= }

err =3D SetNameServers(= iid, msg->family, addrs);

To view, v= isit cha= nge 1339. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I7252d5a252e91ffc03db142aa22= 6c9eb1656480b
Gerrit-Change-Number: 1339
Gerrit-PatchSet: 2
Gerrit-Owner: d12fk <heiko@...515...>
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>
= --mqLl5oGIMUY=--