mirror of
https://github.com/php/php-src.git
synced 2025-08-18 23:18:56 +02:00
Fixed bug #20243
This commit is contained in:
parent
9d0c4b7bc5
commit
90792bca29
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ void php_dl(pval *file, int type, pval *return_value TSRMLS_DC)
|
|||
if (IS_SLASH(extension_dir[extension_dir_len-1])) {
|
||||
sprintf(libpath, "%s%s", extension_dir, Z_STRVAL_P(file)); /* SAFE */
|
||||
} else {
|
||||
sprintf(libpath, "%s/%s", extension_dir, Z_STRVAL_P(file)); /* SAFE */
|
||||
sprintf(libpath, "%s%c%s", extension_dir, DEFAULT_SLASH, Z_STRVAL_P(file)); /* SAFE */
|
||||
}
|
||||
} else {
|
||||
libpath = estrndup(Z_STRVAL_P(file), Z_STRLEN_P(file));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue