mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fixed bug #60167 (Crash / memory corruption in ext/com_dotnet) (Timm Friebe).
This commit is contained in:
parent
5c793c5483
commit
548820bfa4
2 changed files with 12 additions and 9 deletions
|
@ -321,13 +321,13 @@ static HashTable *saproxy_properties_get(zval *object TSRMLS_DC)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
static union _zend_function *saproxy_method_get(zval **object, char *name, int len, const zend_literal *key TSRMLS_DC)
|
||||
static union _zend_function *saproxy_method_get(zval **object, const char *name, int len, const zend_literal *key TSRMLS_DC)
|
||||
{
|
||||
/* no methods */
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static int saproxy_call_method(char *method, INTERNAL_FUNCTION_PARAMETERS)
|
||||
static int saproxy_call_method(const char *method, INTERNAL_FUNCTION_PARAMETERS)
|
||||
{
|
||||
return FAILURE;
|
||||
}
|
||||
|
@ -343,7 +343,7 @@ static zend_class_entry *saproxy_class_entry_get(const zval *object TSRMLS_DC)
|
|||
return php_com_saproxy_class_entry;
|
||||
}
|
||||
|
||||
static int saproxy_class_name_get(const zval *object, char **class_name, zend_uint *class_name_len, int parent TSRMLS_DC)
|
||||
static int saproxy_class_name_get(const zval *object, const char **class_name, zend_uint *class_name_len, int parent TSRMLS_DC)
|
||||
{
|
||||
*class_name = estrndup(php_com_saproxy_class_entry->name, php_com_saproxy_class_entry->name_length);
|
||||
*class_name_len = php_com_saproxy_class_entry->name_length;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue