diff options
author | Yaroslav Yamshchikov <y.yamshchiko@samsung.com> | 2020-09-24 14:40:17 +0300 |
---|---|---|
committer | Hyungju Lee <leee.lee@samsung.com> | 2020-10-07 08:02:04 +0900 |
commit | 07358a9c87521a70220d953c7fc0444a86807f62 (patch) | |
tree | 1cf986b8b2aa97a7bc653a5446a1f8c8fe79ecd0 | |
parent | 2adf8f813f4371257cd5c28321142d28d6fe3fe6 (diff) | |
download | coreclr-07358a9c87521a70220d953c7fc0444a86807f62.tar.gz coreclr-07358a9c87521a70220d953c7fc0444a86807f62.tar.bz2 coreclr-07358a9c87521a70220d953c7fc0444a86807f62.zip |
Revert "[Tizen] Fix crash on accessing 0x0 while unwinding (#287)"
This reverts commit c4a72f57bee753daf09ffbc2a2dfe65ed1582919.
-rw-r--r-- | src/pal/src/libunwind/src/x86/Gos-linux.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pal/src/libunwind/src/x86/Gos-linux.c b/src/pal/src/libunwind/src/x86/Gos-linux.c index 4720370057..fb9a5e3461 100644 --- a/src/pal/src/libunwind/src/x86/Gos-linux.c +++ b/src/pal/src/libunwind/src/x86/Gos-linux.c @@ -59,9 +59,7 @@ unw_is_signal_frame (unw_cursor_t *cursor) if SA_SIGINFO is specified. */ ip = c->dwarf.ip; - - if (!ip - || (*a->access_mem) (as, ip, &w0, 0, arg) < 0 + if ((*a->access_mem) (as, ip, &w0, 0, arg) < 0 || (*a->access_mem) (as, ip + 4, &w1, 0, arg) < 0) ret = 0; else |