SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View 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;
}