From:             steveh at brendata dot co dot uk
Operating system: Linux 2.4.21
PHP version:      4.3.3
PHP Bug Type:     FTP related
Bug description:  ftp_nlist fails on nai site with coredump

Description:
------------
When I to run the following script against the network associates site
(it's part of a bigger system to pull down virus updates) then it fails,
it works fine on other sites (this code snippet came from another PHP bug
entry).

I also tried ftp'ing to the NAI site to prove that I really could do this
and it works fine.


Reproduce code:
---------------
<?php
  $fp = ftp_connect("ftp.nai.com");
  var_dump($fp);
  ftp_login($fp, "anonymous","[EMAIL PROTECTED]");
  var_dump($fp);
  var_dump(ftp_nlist($fp,"/"));
  var_dump($fp);
?>

Expected result:
----------------
Would expect it to finish normally and dump the various arrays.

Actual result:
--------------
Core dump

-- 
Edit bug report at http://bugs.php.net/?id=25294&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=25294&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=25294&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=25294&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=25294&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=25294&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=25294&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=25294&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=25294&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=25294&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=25294&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=25294&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25294&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=25294&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=25294&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=25294&r=gnused

Reply via email to