From fb8a72cd6b9852d5d09ce736e02ab7f9f6501b3f Mon Sep 17 00:00:00 2001 From: Viktor Andreev Date: Wed, 10 Dec 2025 15:01:52 +0600 Subject: [PATCH] fix bug #54521 --- Common/3dParty/pole/pole.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Common/3dParty/pole/pole.h b/Common/3dParty/pole/pole.h index 742ce61889..41102099bd 100644 --- a/Common/3dParty/pole/pole.h +++ b/Common/3dParty/pole/pole.h @@ -90,7 +90,7 @@ static std::wstring convertUtf16ToWString(const UTF16 * Data, int nLength) return std::wstring(); } - std::wstring wstr ((wchar_t *) pStrUtf32); + std::wstring wstr ((wchar_t *) pStrUtf32, nLength); delete [] pStrUtf32; return wstr;