Fix pointing to stack on string && some add tracing
authorAlexis Christoforides <alexis@thenull.net>
Fri, 30 Aug 2019 19:57:03 +0000 (15:57 -0400)
committerLarry Ewing <lewing@microsoft.com>
Wed, 4 Sep 2019 01:30:30 +0000 (20:30 -0500)
Commit migrated from https://github.com/mono/mono/commit/4a52bd6da005dc4359c41333706286deeb308d23

src/mono/mono/mini/mini-exceptions.c

index bb65253..6779d8b 100644 (file)
@@ -1468,8 +1468,9 @@ check_whitelisted_module (const char *in_name, const char **out_module)
                return TRUE;
 #else
        if (allow_all_native_libraries) {
+               g_async_safe_printf ("in_name: %s\n", in_name);
                if (out_module)
-                       *out_module = in_name;
+                       *out_module = "<external module>";
                return TRUE;
        }
        if (g_str_has_suffix (in_name, "mono-sgen")) {