Re: Bug #2607: PHP Crash caused by mail() function

From: Date: Tue, 26 Oct 1999 17:15:32 +0000
Subject: Re: Bug #2607: PHP Crash caused by mail() function
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-11918@lists.php.net to get a copy of this message
On 26 Oct 1999 e.wachenfeld@ndh.net wrote: > From: e.wachenfeld@ndh.net > Operating system: Windows NT 4.0 SP 5 > PHP version: 3.0.11 > PHP Bug Type: Reproduceable crash > Bug description: PHP Crash caused by mail() function > > The mail() function causes PHP to crash if the parameter <headers> > (4th parameter of mail(), this parameter is optional) is larger than > about 3000 bytes. The cause of this crash is in the win32 module of > the mail function. The <header> string is simply sprintf-ed to the > output buffer (which is 4k) without length checking. This bug could be > easily fixed by sending this parameter in smaller blocks within a > loop. Will this be fixed ? where is the 3000 bytes long buffer exacly (source-file + line-number?) tc > > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany

« previous php.dev (#11918) next »