diff options
author | Yaroslav Yamshchikov <y.yamshchiko@samsung.com> | 2020-09-24 14:40:17 +0300 |
---|---|---|
committer | 이형주/Common Platform Lab(SR)/Staff Engineer/삼성전자 <leee.lee@samsung.com> | 2020-10-05 09:53:20 +0900 |
commit | 3ac069e677a403f8345e092a43d51a7b103b1eb2 (patch) | |
tree | 09d4cff529ab23dd4fc1df2c25dc3d2f0495ef87 | |
parent | 676b3e46459a5138d05ac31bb697a54a8a8f685c (diff) | |
download | coreclr-3ac069e677a403f8345e092a43d51a7b103b1eb2.tar.gz coreclr-3ac069e677a403f8345e092a43d51a7b103b1eb2.tar.bz2 coreclr-3ac069e677a403f8345e092a43d51a7b103b1eb2.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 |