cvs: php4 /ext/com COM.c

From: Date: Fri, 15 Mar 2002 20:48:26 +0000
Subject: cvs: php4 /ext/com COM.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-10172@lists.php.net to get a copy of this message
phanto Fri Mar 15 15:48:26 2002 EDT Modified files: /php4/ext/com COM.c Log: @ fixed a bug that caused php to crash in php_COM_get_ids_of_names() (Harald, Paul) Index: php4/ext/com/COM.c diff -u php4/ext/com/COM.c:1.64 php4/ext/com/COM.c:1.65 --- php4/ext/com/COM.c:1.64 Tue Dec 11 10:28:55 2001 +++ php4/ext/com/COM.c Fri Mar 15 15:48:25 2002 @@ -1172,6 +1172,7 @@ obj = (comval *)zend_list_find(Z_LVAL_P(arg_comval), &type); if (!obj || (type != IS_COM)) { php_error(E_WARNING,"%d is not a COM object handler", Z_LVAL_P(arg_comval)); + RETURN_FALSE; } convert_to_string_ex(&arg_property); @@ -1205,6 +1206,7 @@ obj = (comval *)zend_list_find(Z_LVAL_P(arg_comval), &type); if (!obj || (type != IS_COM)) { php_error(E_WARNING,"%d is not a COM object handler", Z_LVAL_P(arg_comval)); + RETURN_FALSE; } convert_to_string_ex(&arg_property);

« previous php.cvs (#10172) next »