From: "selvanair (Code Review)" Date: Mon, 15 Sep 2025 17:38:48 +0000 In-Reply-To: References: Reply-To: selva.nair@...277..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641..., lstipakov@...277... Message-ID: <45a471b026f62e73870e3936e90db69dabbbe67a-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="a6RjOEuljms="; charset=UTF-8 Subject: [Openvpn-devel] [M] Change in openvpn[master]: openvpnserv: Fix writing messages to the event log List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: stipa Cc: plaisthos , flichtenheld , openvpn-devel --a6RjOEuljms= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld, plaisthos, stipa. selvanair has posted comments on this change. ( http://gerrit.openvpn.net/c= /openvpn/+/1188?usp=3Demail ) Change subject: openvpnserv: Fix writing messages to the event log ...................................................................... Patch Set 1: (2 comments) File src/openvpnserv/common.c: http://gerrit.openvpn.net/c/openvpn/+/1188/comment/c9d63194_9fa73d93 : PS1, Line 209: NULL, error, MAKELANGID(LANG_NEUTRAL= , SUBLANG_DEFAULT), (LPTSTR)&tmp, 0, NULL); Explict use of the unicode version "FormatMessageW" preferred. http://gerrit.openvpn.net/c/openvpn/+/1188/comment/6b08b575_87668df4 : PS1, Line 228: buf[_countof(buf) - 1] =3D L'\0'; Previously we removed openvp_swprintf etc. assuming this explicit null-term= ination is no longer required. (commit 130548fe). -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1188?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I423c9880def0eb479abb72bef2e8034a73cf5905 Gerrit-Change-Number: 1188 Gerrit-PatchSet: 1 Gerrit-Owner: stipa Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-CC: selvanair Gerrit-Attention: plaisthos Gerrit-Attention: flichtenheld Gerrit-Attention: stipa Gerrit-Comment-Date: Mon, 15 Sep 2025 17:38:48 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Gerrit-MessageType: comment --a6RjOEuljms= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: flichtenheld, plaisthos, stipa. <= /p>

View = Change

2 comments:

  • File src/openvpnserv/common.c:

    =
    • Patch Set #1, Line 20= 9: = NULL, error, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (LPTSTR)&tm= p, 0, NULL);

      Explict use of the unicode version "FormatMessageW" prefer= red.

    • Patch Set #1, Line 228: buf[_countof(buf) - 1] =3D L'\0';

      Previously = we removed openvp_swprintf etc. assuming this explicit null-termination is = no longer required. (commit 130548fe).

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

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I423c9880def0eb479abb72bef2e= 8034a73cf5905
Gerrit-Change-Number: 1188
Gerrit-PatchSet: 1
Gerrit-Owner: stipa <lstipakov@...277...>= ;
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: flichtenheld <frank@...2375...= 41...>
Gerrit-Attention: stipa <lstipakov@...1663...= .>
Gerrit-Comment-Date: Mon, 15 Sep 2025 17:38:48= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
--a6RjOEuljms=--