php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16371 base_convert() SEG faults
Submitted: 2002-04-01 04:01 UTC Modified: 2002-06-18 19:39 UTC
From: mimkr at gmx dot de Assigned:
Status: Closed Package: Reproducible crash
PHP Version: 4.1.2 OS: RH7.1
Private report: No CVE-ID: None
 [2002-04-01 04:01 UTC] mimkr at gmx dot de
Function base_convert(string number, int frombase, int tobase) crashes with signal Segmentation fault for long strings. Example:

$x=base_convert ("2f0f336509c9a3d0f29e4281321d496f", 16, 36); 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-01 04:25 UTC] derick@php.net
dup of 14807
 [2002-06-18 19:39 UTC] sniper@php.net
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a documentation 
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 27 14:00:03 2025 UTC