ID:               25294
 Updated by:       [EMAIL PROTECTED]
 Reported By:      steveh at brendata dot co dot uk
-Status:           Open
+Status:           Feedback
 Bug Type:         FTP related
 Operating System: Linux 2.4.21
 PHP Version:      4.3.3
 New Comment:

I can't reproduce a crash with the code snippet provided using 4.3.3 on
a 2.4.21 kernel.

Please provide the ./configure line used to compile PHP and note on
which line (I'm assuming the nlist line itself) the crash occurs.


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

[2003-08-28 09:36:37] steveh at brendata dot co dot uk

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

Reply via email to