1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 02:33:17 +02:00

Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  fix tests
  Fix bug #69207 - move_uploaded_file allows nulls in path
This commit is contained in:
Stanislav Malyshev
2015-03-17 12:58:00 -07:00
+1 -1
View File
@@ -5805,7 +5805,7 @@ PHP_FUNCTION(move_uploaded_file)
RETURN_FALSE;
}
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &path, &path_len, &new_path, &new_path_len) == FAILURE) {
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sp", &path, &path_len, &new_path, &new_path_len) == FAILURE) {
return;
}