summaryrefslogtreecommitdiff
path: root/packaging/0011-FIX-fix-No.2-incorrect-m_pBeginInvokeMethod.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/0011-FIX-fix-No.2-incorrect-m_pBeginInvokeMethod.patch')
-rw-r--r--packaging/0011-FIX-fix-No.2-incorrect-m_pBeginInvokeMethod.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/packaging/0011-FIX-fix-No.2-incorrect-m_pBeginInvokeMethod.patch b/packaging/0011-FIX-fix-No.2-incorrect-m_pBeginInvokeMethod.patch
new file mode 100644
index 0000000..4aae433
--- /dev/null
+++ b/packaging/0011-FIX-fix-No.2-incorrect-m_pBeginInvokeMethod.patch
@@ -0,0 +1,25 @@
+From 39faf6a5a0c6217aaed0dbccec40f5b43eb10529 Mon Sep 17 00:00:00 2001
+From: Gleb Balykov <g.balykov@samsung.com>
+Date: Wed, 11 Apr 2018 16:34:59 +0300
+Subject: [PATCH 11/32] FIX: fix No.2, incorrect m_pBeginInvokeMethod
+
+---
+ src/vm/methodtablebuilder.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/vm/methodtablebuilder.cpp b/src/vm/methodtablebuilder.cpp
+index 05ab438..a1e9095 100644
+--- a/src/vm/methodtablebuilder.cpp
++++ b/src/vm/methodtablebuilder.cpp
+@@ -5037,7 +5037,7 @@ void MethodTableBuilder::SetSecurityFlagsOnMethod(bmtRTMethod* pParentMethod,
+ if(!pNewMD->RequiresLinktimeCheck() && IsDelegate())
+ {
+ DelegateEEClass* pDelegateClass = (DelegateEEClass*)GetHalfBakedClass();
+- if(pNewMD == pDelegateClass->m_pBeginInvokeMethod)
++ if(pNewMD == pDelegateClass->m_pBeginInvokeMethod.GetValueMaybeNull())
+ {
+ pNewMD->SetRequiresLinktimeCheck();
+ pNewMD->SetRequiresLinkTimeCheckHostProtectionOnly(); // this link check is due to HP only
+--
+2.7.4
+