fast_ping: Avoid ping race condition crash issue

This commit is contained in:
Nick Peng
2021-08-23 14:19:22 +08:00
parent 7f1dc8a311
commit 772229c826
4 changed files with 15 additions and 6 deletions

View File

@@ -1045,7 +1045,7 @@ void print_stack(void)
}
tlog(TLOG_FATAL, "Stack:");
for (size_t idx = 0; idx < frame_num; ++idx) {
for (int idx = 0; idx < frame_num; ++idx) {
const void *addr = buffer[idx];
const char *symbol = "";