Edit report at http://bugs.php.net/bug.php?id=54092&edit=1
ID: 54092 Updated by: cataphr...@php.net Reported by: daniel dot buschke at nextiraone dot de Summary: Segmentation fault when using FTP proxy -Status: Assigned +Status: Closed Type: Bug Package: Reproducible crash Operating System: Linux PHP Version: 5.2.17 Assigned To: cataphract Block user comment: N Private report: N New Comment: This bug has been fixed in SVN. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2011-02-27 21:23:56] cataphr...@php.net Automatic comment from SVN on behalf of cataphract Revision: http://svn.php.net/viewvc/?view=revision&revision=308734 Log: - Fixed bug #54092 (Segmentation fault when using HTTP proxy with the FTP wrapper). #php_stream->wrapperdata should hold an array zval (like its zval* type #indicates...), it's not a place where the wrapper can drop an arbitrary #pointer. For that, .wrapperthis should be used. #Also, since the ftp dir wrapper defines its own stream type, it's more #appropriate to use .abstract to store the stream instance specific data. ------------------------------------------------------------------------ [2011-02-25 11:07:19] cataphr...@php.net I'll fix it over the weekend. ------------------------------------------------------------------------ [2011-02-25 00:00:38] cataphr...@php.net I can reproduce in 5.3 with Apache working as the proxy. ------------------------------------------------------------------------ [2011-02-24 21:52:05] il...@php.net Please try using this snapshot: http://snaps.php.net/php5.3-latest.tar.gz For Windows: http://windows.php.net/snapshots/ Cannot reproduce the crash in 5.3 ------------------------------------------------------------------------ [2011-02-24 17:33:16] daniel dot buschke at nextiraone dot de Just for history: php -v ---------------- PHP 5.3.6RC2-dev (cli) (built: Feb 24 2011 17:17:30) (DEBUG) Copyright (c) 1997-2011 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies ---------------- ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/bug.php?id=54092 -- Edit this bug report at http://bugs.php.net/bug.php?id=54092&edit=1