diff options
author | Arun Sharma <aruns@google.com> | 2009-03-16 11:06:26 -0700 |
---|---|---|
committer | Arun Sharma <aruns@google.com> | 2009-03-16 21:34:49 -0700 |
commit | ff0ae70cc3c3c1498724deed519cd18dde6c1e80 (patch) | |
tree | f953cdc360269e9239e0a201a0081ca974b08b57 /src/x86/Ginit_local.c | |
parent | 5822fca27a6861e07c3f74c3abd90cb020304d01 (diff) | |
download | libunwind-ff0ae70cc3c3c1498724deed519cd18dde6c1e80.tar.gz |
Bad pointer validation for 32 bit x86.
This corresponds to commit 649f1fb3449a65dd0626a709432d8b02a7c56bbc.
Signed-off-by: Paul Pluzhnikov <ppluzhnikov@google.com>
Diffstat (limited to 'src/x86/Ginit_local.c')
-rw-r--r-- | src/x86/Ginit_local.c | 4 |
1 files changed, 3 insertions, 1 deletions
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); } |