From e7e5ee5d770a33b11106e4833279f7cc4c0d394e Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Fri, 23 Dec 2016 06:12:36 +0100 Subject: grt: also distinguish overflow from null access on linux x86-64 Fix #232 --- src/grt/config/jumps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/grt/config') diff --git a/src/grt/config/jumps.c b/src/grt/config/jumps.c index 019b42eee..6afc9d570 100644 --- a/src/grt/config/jumps.c +++ b/src/grt/config/jumps.c @@ -147,7 +147,7 @@ grt_sigsegv_handler (int signo, siginfo_t *info, void *ptr) get_bt_from_ucontext (ptr, &bt); -#if defined (__linux__) && defined (__i386__) +#if defined (__linux__) && (defined (__i386__) || defined (__x86_64__)) if (signo == SIGSEGV) { ucontext_t *uctxt = (ucontext_t *)ptr; -- cgit v1.2.3