Changes between Initial Version and Version 1 of Ticket #32135, comment 7
- Timestamp:
- 04/28/2015 12:54:05 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #32135, comment 7
initial v1 1 1 This problem is very serious because it affects also Wordpress self updating, not only plugin/thema updating. 2 2 3 Wordpress's "wp_tempnam" function is not supposed that argument $filename is root directory and has no basename .3 Wordpress's "wp_tempnam" function is not supposed that argument $filename is root directory and has no basename (such as "/.maintenance"). 4 4 If $filename has no basename(extensions only), wp_tempname is called recursively to generate tempname based on the parent directory of $filename, 5 5 but parent of root directory("/") is also root("/"), so it causes infinite recursive calling. 6 6 7 Therefore, this problem occurs when the following conditions. 7 Wordpress updater creates ".maintenance" file to the installed directory, 8 therefore this problem occurs when the following conditions. 8 9 . Updating via FTP (ftpsock or ftpext). 9 10 . Wordpress is installed at the root directory of FTP server (using chrooted account).