php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7533 sscanf() crash on null values
Submitted: 2000-10-30 11:01 UTC Modified: 2000-10-30 11:44 UTC
From: panu dot kalliokoski at giro dot fi Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0 Latest CVS (30/10/2000) OS: Debian GNU/Linux 2.2.17 -potato
Private report: No CVE-ID: None
 [2000-10-30 11:01 UTC] panu dot kalliokoski at giro dot fi
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)


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-30 11:44 UTC] stas@php.net
Fixed in CVS. Please check.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Oct 11 07:00:02 2026 UTC