[wp-trac] [WordPress Trac] #42265: get_filesystem_method() isn't unique enough
WordPress Trac
noreply at wordpress.org
Fri Nov 24 03:04:37 UTC 2017
#42265: get_filesystem_method() isn't unique enough
----------------------------+------------------------------------------
Reporter: bikecrazyy | Owner: dd32
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.0
Component: Filesystem API | Version: 2.5
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: administration, performance
----------------------------+------------------------------------------
Changes (by dd32):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"42224"]:
{{{
#!CommitTicketReference repository="" revision="42224"
Filesystem: Use a more unique filename in `wp_tempnam()` and
`get_filesystem_method()`.
Using a filename which was generated from `time()` could cause two
processes to try to use the same filename, causing unexpected behaviour.
Props jrchamp, bikecrazyy.
Fixes #42265.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42265#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list