mirror of
https://github.com/bdnugget/php-src.git
synced 2026-11-07 17:27:30 +00:00
Fixed built (missing 2nd arg for strncpy)
This commit is contained in:
1 parent
0630945ac4
commit
409022b742
1 file changed
+1
-1
@@ -473,7 +473,7 @@ PHPAPI int php_fopen_primary_script(zend_file_handle *file_handle TSRMLS_DC)
|
||||
if (IS_SLASH(path_info[0])) {
|
||||
length--;
|
||||
}
|
||||
strncpy(filename + length, path_len + 1);
|
||||
strncpy(filename + length, path_info, path_len + 1);
|
||||
}
|
||||
} else {
|
||||
filename = SG(request_info).path_translated;
|
||||
|
||||
Reference in new issue
Block a user