Fix bug #69207 - move_uploaded_file allows nulls in path

This commit is contained in:
Stanislav Malyshev 2015-03-17 12:47:58 -07:00
parent fa1c05540c
commit 6632684e03

View file

@ -5733,7 +5733,7 @@ PHP_FUNCTION(move_uploaded_file)
RETURN_FALSE;
}
if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss", &path, &path_len, &new_path, &new_path_len) == FAILURE) {
if (zend_parse_parameters(ZEND_NUM_ARGS(), "sp", &path, &path_len, &new_path, &new_path_len) == FAILURE) {
return;
}