From: "flichtenheld (Code Review)" Date: Fri, 8 May 2026 11:27:26 +0000 References: Reply-To: frank@...2641..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net Message-ID: <038d705b9bebad71d215c4cec727d85f437a1e7f-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="XVyQNwuibR4="; charset=UTF-8 Subject: [Openvpn-devel] [XS] Change in openvpn[master]: openvpnserv: Use same variant of UuidToString and RpcStringFree List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: plaisthos Cc: openvpn-devel --XVyQNwuibR4= 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/+/1671?usp=3Demail to review the following change. Change subject: openvpnserv: Use same variant of UuidToString and RpcString= Free ...................................................................... openvpnserv: Use same variant of UuidToString and RpcStringFree Probably not a real issue since it should always use the W version in our case, but still unclean. Fixes a cppcheck complaint. Change-Id: I3d391016dcd3c66e58f3f05b356bcd419224acb1 Signed-off-by: Frank Lichtenheld --- M src/openvpnserv/interactive.c 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/71/1671/1 diff --git a/src/openvpnserv/interactive.c b/src/openvpnserv/interactive.c index e25c511..bd310e4 100644 --- a/src/openvpnserv/interactive.c +++ b/src/openvpnserv/interactive.c @@ -3484,7 +3484,7 @@ swprintf(ovpn_pipe_name, _countof(ovpn_pipe_name), L"\\\\.\\pipe\\" _L(PACKAGE) L"%ls\\service_%lu_%ls", service= _instance, GetCurrentThreadId(), pipe_uuid_str); - RpcStringFree(&pipe_uuid_str); + RpcStringFreeW(&pipe_uuid_str); /* make a security descriptor for the named pipe with access * restricted to the user and SYSTEM -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1671?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: I3d391016dcd3c66e58f3f05b356bcd419224acb1 Gerrit-Change-Number: 1671 Gerrit-PatchSet: 1 Gerrit-Owner: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos --XVyQNwuibR4= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is cur= rently required from: plaisthos.

flichtenheld would like plaisthos to review this change.

V= iew Change

openvpnserv: Use same variant of UuidToStri=
ng and RpcStringFree

Probably not a real issue since it should alway= s use the
W version in our case, but still unclean.

Fixes a cppch= eck complaint.

Change-Id: I3d391016dcd3c66e58f3f05b356bcd419224acb1<= br>Signed-off-by: Frank Lichtenheld <frank@...2641...>
---
M sr= c/openvpnserv/interactive.c
1 file changed, 1 insertion(+), 1 deletion(-= )

git pull ssh://gerrit.openvpn.net:29418/openvp=
n refs/changes/71/1671/1
diff --git a/src/openvpnserv/interactive.c=
 b/src/openvpnserv/interactive.c
index e25c511..bd310e4 100= 644
--- a/src/openvpnserv/interactive.c
+++= b/src/openvpnserv/interactive.c
@@ -3484,7 +3484,7 @@
swprintf(ovpn_pipe_name, _countof(ovpn_pipe_name),<= br> L"\\\\.\\pipe\\" _L(PACKAGE) L"%ls\\s= ervice_%lu_%ls", service_instance,
GetCu= rrentThreadId(), pipe_uuid_str);
- RpcStringFree(&pipe_uuid_str);
+ RpcStringFreeW(&pipe_uuid_str);

/* make a security descriptor for the nam= ed pipe with access
* restricted to the user and SYST= EM

To view, visit change 1671. To unsubscri= be, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I3d391016dcd3c66e58f3f05b356= bcd419224acb1
Gerrit-Change-Number: 1671
Gerrit-PatchSet: 1
Gerrit-Owner: flichtenheld <frank@...2723...= .>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
= --XVyQNwuibR4=--