[wp-trac] [WordPress Trac] #30802: PHP Segfault with SSH2 prevents General Settings page loading (was: General settings menu isn't opened.)

WordPress Trac noreply at wordpress.org
Mon Mar 9 04:16:13 UTC 2015


#30802: PHP Segfault with SSH2 prevents General Settings page loading
----------------------------+--------------------
 Reporter:  hyoseop         |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  4.1.2
Component:  Filesystem API  |     Version:  4.1
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |     Focuses:
----------------------------+--------------------

Comment (by dd32):

 Duplicated the Segfault under PHP 5.3.3.

 The bug has been present for quite some time, but has only just now been
 triggered.
 Most SSH setups will have the full absolute path available, so it never
 actually triggered the `cwd()` method, since all the directories existed.
 This segfault can be worked around by simply creating the `wp-
 content/langauges/` directory.

 All commands that return output are doing so as such: `$output\n`, turns
 out that if you pass a path of `/something\n/something` you can cause a
 segfault in PHP. I haven't tracked down the exact method that segfaults
 with it, but i vaguely recall seeing a PHP bug report that got fixed at
 some point.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30802#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list