ID: 14327
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: Filesystem function related
Operating System: Linux 2.4.16 ( RH 7.2 based)
PHP Version: 4.0CVS-2001-12-03
New Comment:

>From the logfile:

revision 1.254
date: 2001/12/01 15:45:55;  author: derick;  state: Exp;  lines: +6 -15
- Fix a crash when passing e.g. NULL to basename(). (Patch by Markus
  Fischer <[EMAIL PROTECTED]>)
#- Simplyfied code using zend_parse_parameters().

It's already fixed.

regards,
Derick

Previous Comments:
------------------------------------------------------------------------

[2001-12-03 13:40:56] [EMAIL PROTECTED]

<?php
  $foo=basename($test);
  echo "alive?";
  ?>

A segfault occures while calling basename() on an empty string - at least it does on 
my cvs-version from Dec 30 2001

------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=14327&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