From bbe87ea403bb69ffbe721bfb59ca433b662bc8ba Mon Sep 17 00:00:00 2001 From: "mostang.com!davidm" Date: Tue, 3 May 2005 09:13:17 +0000 Subject: [PATCH] (common_init): Don't forget to clear c->dwarf members args_size, ret_addr_column, pi_valid, and pi_is_dynamic. (Logical change 1.290) --- src/x86/init.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/x86/init.h b/src/x86/init.h index 0eb9191c..f4f4791c 100644 --- a/src/x86/init.h +++ b/src/x86/init.h @@ -57,5 +57,9 @@ common_init (struct cursor *c) c->sigcontext_format = X86_SCF_NONE; c->sigcontext_addr = 0; + c->dwarf.args_size = 0; + c->dwarf.ret_addr_column = 0; + c->dwarf.pi_valid = 0; + c->dwarf.pi_is_dynamic = 0; return 0; }