mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
-- missing length declaration, may have worked w/some gcc as length is not used in the macro but still need it, ifdef just make code uncertain. will get opt out anyway if not used
This commit is contained in:
parent
478a8b2ebb
commit
38c886a449
@ -355,6 +355,7 @@ static void php_load_php_extension_cb(void *arg TSRMLS_DC)
|
||||
static void php_load_zend_extension_cb(void *arg TSRMLS_DC)
|
||||
{
|
||||
char *filename = *((char **) arg);
|
||||
const int length = strlen(filename);
|
||||
|
||||
if (IS_ABSOLUTE_PATH(filename, length)) {
|
||||
zend_load_extension(filename TSRMLS_CC);
|
||||
|
Loading…
Reference in New Issue
Block a user