SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
17
lang/mono/patches/patch-mono_mini_mini-exceptions_c
Normal file
17
lang/mono/patches/patch-mono_mini_mini-exceptions_c
Normal file
|
@ -0,0 +1,17 @@
|
|||
mono_get_lmf (); sometimes returns a pointer to invalid memory,
|
||||
so lets live with this hack until this gets resolved upstream:
|
||||
|
||||
https://github.com/mono/mono/issues/6359
|
||||
|
||||
Index: mono/mini/mini-exceptions.c
|
||||
--- mono/mini/mini-exceptions.c.orig
|
||||
+++ mono/mini/mini-exceptions.c
|
||||
@@ -3690,7 +3690,7 @@ mono_thread_state_init (MonoThreadUnwindState *ctx)
|
||||
#endif
|
||||
|
||||
ctx->unwind_data [MONO_UNWIND_DATA_DOMAIN] = mono_domain_get ();
|
||||
- ctx->unwind_data [MONO_UNWIND_DATA_LMF] = mono_get_lmf ();
|
||||
+ ctx->unwind_data [MONO_UNWIND_DATA_LMF] = NULL;
|
||||
ctx->unwind_data [MONO_UNWIND_DATA_JIT_TLS] = thread ? thread->jit_data : NULL;
|
||||
ctx->valid = TRUE;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue