Date: Sat, 22 Nov 2025 18:43:14 +0100 (CET) Message-Id: <202511221743.5AMHhE7n045883@...2054...> From: Gert Doering In-Reply-To: <20251122155506.8901-1-gert@...1296...> References: <20251122155506.8901-1-gert@...1296...> Subject: [Openvpn-devel] [PATCH applied] Re: iservice: fix buffer size in call to FormatMessage List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: Heiko Hund Cc: openvpn-devel@lists.sourceforge.net I have not actually tested this (beyond "does it compile") but reading the docs about FormatMessageW() and the overall other code, this looks very correct. Your patch has been applied to the master branch. It might be applicable to release/2.6, but we use a "TCHAR" there, not a WCHAR - so that code might just be correct, or not. commit b39bed539f218f6165d79224adbc343a63a4514d Author: Heiko Hund Date: Sat Nov 22 16:55:00 2025 +0100 iservice: fix buffer size in call to FormatMessage Signed-off-by: Heiko Hund Acked-by: Gert Doering Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1387 Message-Id: <20251122155506.8901-1-gert@...1296...> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg34583.html Signed-off-by: Gert Doering -- kind regards, Gert Doering