diff options
Diffstat (limited to 'packaging/0013-Fix-EECodeManager-GetAmbientSP-on-x86-Linux.patch')
-rw-r--r-- | packaging/0013-Fix-EECodeManager-GetAmbientSP-on-x86-Linux.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/packaging/0013-Fix-EECodeManager-GetAmbientSP-on-x86-Linux.patch b/packaging/0013-Fix-EECodeManager-GetAmbientSP-on-x86-Linux.patch new file mode 100644 index 0000000000..340a7061c5 --- /dev/null +++ b/packaging/0013-Fix-EECodeManager-GetAmbientSP-on-x86-Linux.patch @@ -0,0 +1,26 @@ +From 4168f754bbb8d559de00f5a0d45660784968a1f9 Mon Sep 17 00:00:00 2001 +From: Igor Kulaychuk <i.kulaychuk@samsung.com> +Date: Fri, 20 Apr 2018 23:52:57 +0300 +Subject: [PATCH 13/13] Fix EECodeManager::GetAmbientSP on x86/Linux + +--- + src/vm/eetwain.cpp | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/src/vm/eetwain.cpp b/src/vm/eetwain.cpp +index a2ceb19..4fb43a9 100644 +--- a/src/vm/eetwain.cpp ++++ b/src/vm/eetwain.cpp +@@ -5940,7 +5940,8 @@ TADDR EECodeManager::GetAmbientSP(PREGDISPLAY pContext, + #endif // _DEBUG && !DACCESS_COMPILE + + if ((stateBuf->hdrInfoBody.prologOffs != hdrInfo::NOT_IN_PROLOG) || +- (stateBuf->hdrInfoBody.epilogOffs != hdrInfo::NOT_IN_EPILOG)) ++ (stateBuf->hdrInfoBody.epilogOffs != hdrInfo::NOT_IN_EPILOG) || ++ (GetRegdisplayFPAddress(pContext) == NULL)) + { + return NULL; + } +-- +2.7.4 + |