[Lldb-commits] [PATCH] D152454: [lldb][test] LogTest: Fix stack overflow
Michael Buch via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Jun 8 09:10:46 PDT 2023
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,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152454.529627.patch
Type: text/x-patch
Size: 482 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20230608/9b01166a/attachment.bin>
More information about the lldb-commits
mailing list