mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
- Fixed crash in com_print_typeinfo when an invalid typelib is given
This commit is contained in:
parent
e2211cee86
commit
1431ba235b
@ -309,7 +309,7 @@ ITypeInfo *php_com_locate_typeinfo(char *typelibname, php_com_dotnet_object *obj
|
|||||||
}
|
}
|
||||||
} else if (typelibname) {
|
} else if (typelibname) {
|
||||||
/* Fetch the typelibrary and use that to look things up */
|
/* Fetch the typelibrary and use that to look things up */
|
||||||
typelib = php_com_load_typelib(typelibname, obj->code_page TSRMLS_CC);
|
typelib = php_com_load_typelib(typelibname, CP_THREAD_ACP TSRMLS_CC);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!gotguid && dispname && typelib) {
|
if (!gotguid && dispname && typelib) {
|
||||||
|
Loading…
Reference in New Issue
Block a user