This revision was automatically updated to reflect the committed changes. Closed by commit rG9c4c67a682f9: [lldb][test] LogTest: Fix stack overflow (authored by Michael137).
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D152454/new/ https://reviews.llvm.org/D152454 Files: lldb/unittests/Utility/LogTest.cpp Index: lldb/unittests/Utility/LogTest.cpp =================================================================== --- lldb/unittests/Utility/LogTest.cpp +++ 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,
Index: lldb/unittests/Utility/LogTest.cpp =================================================================== --- lldb/unittests/Utility/LogTest.cpp +++ 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,
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits