提交 d1b85e2e 编写于 作者: L Levi Bard

Don't double-reference assembly images when loading from managed byte array.

Case 562801.
上级 7540477d
......@@ -1876,10 +1876,9 @@ ves_icall_System_AppDomain_LoadAssemblyRaw (MonoAppDomain *ad,
mono_debug_open_image_from_memory (image, mono_array_addr (raw_symbol_store, guint8, 0), mono_array_length (raw_symbol_store));
ass = mono_assembly_load_from_full (image, "", &status, refonly);
mono_image_close (image);
if (!ass) {
mono_image_close (image);
mono_raise_exception (mono_get_exception_bad_image_format (""));
return NULL;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册