From b2cae554d7e5222aa7a14a7792219499344853b5 Mon Sep 17 00:00:00 2001 From: Chad Elliott Date: Wed, 26 Jun 2019 10:41:52 -0500 Subject: Increase the ACE_LOG_MSG_GET_THREAD_ID_BUFFER_SIZE from 8 to 12 as an int is used in the implementation of ACE_OS::thr_gettid and could require 11 bytes of text, including a sign, and a byte to null terminate the string. --- ACE/ace/Log_Msg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ACE/ace/Log_Msg.cpp b/ACE/ace/Log_Msg.cpp index 9e3f3949e52..dbf09f5d3da 100644 --- a/ACE/ace/Log_Msg.cpp +++ b/ACE/ace/Log_Msg.cpp @@ -1794,7 +1794,7 @@ ACE_Log_Msg::log (const ACE_TCHAR *format_str, # ifdef ACE_HAS_GETTID # define ACE_LOG_MSG_GET_THREAD_ID ACE_OS::thr_gettid -# define ACE_LOG_MSG_GET_THREAD_ID_BUFFER_SIZE 8 +# define ACE_LOG_MSG_GET_THREAD_ID_BUFFER_SIZE 12 # else # define ACE_LOG_MSG_GET_THREAD_ID ACE_OS::thr_id # define ACE_LOG_MSG_GET_THREAD_ID_BUFFER_SIZE 32 -- cgit v1.2.1