mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 19:11:46 +01:00
ndb - autotest
Fix stack overflow in ndb_cpcd on amd64
This commit is contained in:
parent
decf8ed04e
commit
96789d5ecb
1 changed files with 2 additions and 2 deletions
|
@ -352,11 +352,11 @@ Logger::log(LoggerLevel logLevel, const char* pMsg, va_list ap) const
|
|||
{
|
||||
if (m_logLevels[LL_ON] && m_logLevels[logLevel])
|
||||
{
|
||||
char buf[MAX_LOG_MESSAGE_SIZE];
|
||||
BaseString::vsnprintf(buf, sizeof(buf), pMsg, ap);
|
||||
LogHandler* pHandler = NULL;
|
||||
while ( (pHandler = m_pHandlerList->next()) != NULL)
|
||||
{
|
||||
char buf[MAX_LOG_MESSAGE_SIZE];
|
||||
BaseString::vsnprintf(buf, sizeof(buf), pMsg, ap);
|
||||
pHandler->append(m_pCategory, logLevel, buf);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue