diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-05-06 20:18:01 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-05-29 20:02:57 +0200 |
commit | aa0e96ed1c148aa5d5d91ba64a1ecb73282190a8 (patch) | |
tree | 5619ecce02abf1551556fafa1c48047f0e8ceb17 /lib/log.c | |
parent | zebra: fix maybe-uninitialized pointer (diff) | |
download | frr-aa0e96ed1c148aa5d5d91ba64a1ecb73282190a8.tar.xz frr-aa0e96ed1c148aa5d5d91ba64a1ecb73282190a8.zip |
lib: fix uninitialized variable in backtrace output
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to '')
-rw-r--r-- | lib/log.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -602,6 +602,8 @@ void zlog_backtrace_sigsafe(int priority, void *program_counter) backtrace_symbols_fd(array, size, FD); \ } #elif defined(HAVE_PRINTSTACK) + size = 0; + #define DUMP(FD) \ { \ if (program_counter) \ |