1
0
mirror of https://github.com/php/php-src.git synced 2026-04-29 19:23:22 +02:00

fix crash

This commit is contained in:
Stanislav Malyshev
2004-11-17 12:06:27 +00:00
parent 6bb5705619
commit e9003696bd
+4
View File
@@ -882,6 +882,10 @@ ZEND_API int zend_lookup_class(char *name, int name_length, zend_class_entry ***
char dummy = 1;
zend_fcall_info fcall_info;
zend_fcall_info_cache fcall_cache;
if (name == NULL) {
return FAILURE;
}
lc_name = do_alloca(name_length + 1);
zend_str_tolower_copy(lc_name, name, name_length);