diff --git a/lldb/unittests/Utility/LogTest.cpp b/lldb/unittests/Utility/LogTest.cpp --- a/lldb/unittests/Utility/LogTest.cpp +++ b/lldb/unittests/Utility/LogTest.cpp @@ -309,7 +309,7 @@ Err)); llvm::StringRef Msg = logAndTakeOutputf("Hello World"); char File[12]; - char Function[17]; + char Function[18]; sscanf(Msg.str().c_str(), "%[^:]:%s Hello World", File,