Re: [PHP4BETA] Segfault in FTP

From: Date: Wed, 22 Sep 1999 00:00:55 +0000
Subject: Re: [PHP4BETA] Segfault in FTP
References: 1 2  Groups: php.version4 
Request: Send a blank email to php-version4+get-4783@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. Yep, that did it...thanx! Will the second arg of the ftp_connect() ever be there to specify a port? I see it in the ftp_open(). -Dave > 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) > > > > -- > PHP 4 Beta > >

« previous php.version4 (#4783) next »