mirror of
https://github.com/php/php-src.git
synced 2024-12-24 09:18:17 +08:00
- Fix data size
This commit is contained in:
parent
496099274b
commit
27c72fd2e1
@ -636,7 +636,7 @@ PHP_FUNCTION(stream_filter_register)
|
||||
fdat->classname_len = classname_len;
|
||||
|
||||
if (zend_hash_add(BG(user_filter_map), filtername, filtername_len + 1, (void*)fdat,
|
||||
sizeof(*fdat) + classname_len, NULL) == SUCCESS &&
|
||||
sizeof(*fdat), NULL) == SUCCESS &&
|
||||
php_stream_filter_register_factory_volatile(filtername, &user_filter_factory TSRMLS_CC) == SUCCESS) {
|
||||
RETVAL_TRUE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user