mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
- Fixed bug #55576: Cannot conditionally move uploaded file without race
condition.
This commit is contained in:
parent
08f78070a5
commit
cc45ce4586
7
NEWS
7
NEWS
@ -5,8 +5,11 @@ PHP NEWS
|
||||
- Core:
|
||||
. Fixed bug #52461 (Incomplete doctype and missing xmlns).
|
||||
(virsacer at web dot de, Pierre)
|
||||
. Fixed bug #55366: keys lost when using substr_replace an array (Arpad)
|
||||
. Fixed bug #55510: $_FILES 'name' missing first character after upload (Arpad)
|
||||
. Fixed bug #55366: keys lost when using substr_replace an array. (Arpad)
|
||||
. Fixed bug #55510: $_FILES 'name' missing first character after upload.
|
||||
(Arpad)
|
||||
. Fixed bug #55576: Cannot conditionally move uploaded file without race
|
||||
condition. (Gustavo)
|
||||
|
||||
- DateTime:
|
||||
. Fixed bug #48476 (cloning extended DateTime class without calling
|
||||
|
@ -5849,7 +5849,6 @@ PHP_FUNCTION(move_uploaded_file)
|
||||
RETURN_FALSE;
|
||||
}
|
||||
|
||||
VCWD_UNLINK(new_path);
|
||||
if (VCWD_RENAME(path, new_path) == 0) {
|
||||
successful = 1;
|
||||
#ifndef PHP_WIN32
|
||||
|
Loading…
Reference in New Issue
Block a user