From ff0ae70cc3c3c1498724deed519cd18dde6c1e80 Mon Sep 17 00:00:00 2001 From: Arun Sharma Date: Mon, 16 Mar 2009 11:06:26 -0700 Subject: Bad pointer validation for 32 bit x86. This corresponds to commit 649f1fb3449a65dd0626a709432d8b02a7c56bbc. Signed-off-by: Paul Pluzhnikov --- src/x86/Ginit_local.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/x86/Ginit_local.c') diff --git a/src/x86/Ginit_local.c b/src/x86/Ginit_local.c index 7b86d6e5..55ab7490 100644 --- a/src/x86/Ginit_local.c +++ b/src/x86/Ginit_local.c @@ -47,7 +47,9 @@ unw_init_local (unw_cursor_t *cursor, ucontext_t *uc) Debug (1, "(cursor=%p)\n", c); c->dwarf.as = unw_local_addr_space; - c->dwarf.as_arg = uc; + c->dwarf.as_arg = c; + c->uc = uc; + c->validate = 0; return common_init (c); } -- cgit v1.2.1