PHP 4.0 Bug #7533: sscanf() crash on null values
| From: | panu dot kalliokoski at giro dot fi | Date: | Mon, 30 Oct 2000 16:01:47 +0000 |
| Subject: | PHP 4.0 Bug #7533: sscanf() crash on null values | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-36427@lists.php.net to get a copy of this message | ||
From: panu.kalliokoski@giro.fi
Operating system: Debian GNU/Linux 2.2.17 -potato
PHP version: 4.0 Latest CVS (30/10/2000)
PHP Bug Type: Reproduceable crash
Bug description: sscanf() crash on null values
This bug should be really easy to reproduce. It seems that any call like
$my_array = sscanf( $this_variable_does_not_exist, '%d' );
will cause a core dump. (Also tested on php4.0.2 and 4.0.3)
--
Edit Bug report at: http://bugs.php.net/?id=7533&edit=1