projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a3bdd3
)
Guard writing to out_module
author
Alexis Christoforides
<alexis@thenull.net>
Fri, 30 Aug 2019 13:03:42 +0000
(09:03 -0400)
committer
Larry Ewing
<lewing@microsoft.com>
Wed, 4 Sep 2019 01:30:30 +0000
(20:30 -0500)
Commit migrated from https://github.com/mono/mono/commit/
8c0dc66d25204a25e22126a2d54ba0f09f580a51
src/mono/mono/mini/mini-exceptions.c
patch
|
blob
|
history
diff --git
a/src/mono/mono/mini/mini-exceptions.c
b/src/mono/mono/mini/mini-exceptions.c
index
096aa4c
..
bb65253
100644
(file)
--- a/
src/mono/mono/mini/mini-exceptions.c
+++ b/
src/mono/mono/mini/mini-exceptions.c
@@
-1468,7
+1468,8
@@
check_whitelisted_module (const char *in_name, const char **out_module)
return TRUE;
#else
if (allow_all_native_libraries) {
- *out_module = in_name;
+ if (out_module)
+ *out_module = in_name;
return TRUE;
}
if (g_str_has_suffix (in_name, "mono-sgen")) {