Re: [PHP4BETA] Segfault in FTP
| From: | Andrew Skalski | Date: | Tue, 21 Sep 1999 23:55:44 +0000 |
| Subject: | Re: [PHP4BETA] Segfault in FTP | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-4782@lists.php.net to get a copy of this message | ||
OK it "should" be fixed. I forgot to set the address family when
connecting to the ftp server, and on top of that, I was dereferencing
a NULL pointer when reporting an error message :-)
Let me know if it works.
andy
On Tue, Sep 21, 1999 at 04:00:34PM -0700, Dave wrote:
> Tried the new FTP functions and got a segfault on ftp_connect
>
>
> httpd.error.log:
> connect: Address family not supported by protocol family
> [Tue Sep 21 15:58:58 1999] [notice] child pid 8093 exit signal Segmentation
> fault (11)
>
...
>
> Is the FTP functions not finished? or is it my box?
>
> BSDI 4.0.1
> Apache 1.3.9
> PHP4 (CVS as of about 2 hours ago after the last segfault fix)
>