From:             [EMAIL PROTECTED]
Operating system: RH Linux 7.0, i386
PHP version:      4.0.4pl1
PHP Bug Type:     Strings related
Bug description:  sprintf ("%f", $foo) crashes with very large $foo.

[ben@home ben]$ echo '<? $foo = 2.2864849511949E+190; settype($foo,"double"); 
printf("%f\n", $foo) ?>' | php 
X-Powered-By: PHP/4.0.4pl1
Content-type: text/html

2286484951194899000000000000000000000000000000000000000000000000000000000000000
Segmentation fault (core dumped)




-- 
Edit Bug report at: http://bugs.php.net/?id=9297&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to