Bug #9297 Updated: sprintf ("%f", $foo) crashes with very large $foo.

From: Date: Mon, 30 Apr 2001 13:17:46 +0000
Subject: Bug #9297 Updated: sprintf ("%f", $foo) crashes with very large $foo.
Groups: php.dev 
Request: Send a blank email to php-dev+get-53066@lists.php.net to get a copy of this message
ID: 9297 Updated by: andi Reported By: ben@bpeter.org Old-Status: Open Status: Feedback Bug Type: Strings related PHP Version: 4.0.4pl1 Assigned To: Comments: Can you please try the latest CVS or a snapshot from snaps.php.net and let us know if this still happens. I can't reproduce it on redhat 6.2. Thanks. Previous Comments: --------------------------------------------------------------------------- [2001-02-16 10:34:20] ben@bpeter.org [ben@home ben]$ echo '<? $foo = 2.2864849511949E+190; settype($foo,"double"); printf("%fn", $foo) ?>' | php X-Powered-By: PHP/4.0.4pl1 Content-type: text/html 2286484951194899000000000000000000000000000000000000000000000000000000000000000 Segmentation fault (core dumped) --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9297&edit=2

« previous php.dev (#53066) next »