From:             [EMAIL PROTECTED]
Operating system: Linux 6.2 EE
PHP version:      4.0 Latest CVS (03/05/2001)
PHP Bug Type:     Reproduceable crash
Bug description:  payflow pro support core dumps ftp

Latest CVS and the latest SDK for Payflow Pro will produce a core dump when using the 
FTP command set.  This has also happened on prior 4.0.x versions and previous versions 
of the pfpro SDK.

This is compiled as a CGI for use with Zeus webserver however the crash will occur 
regardless of if

Simple Script:
<?
$ftp = ftp_connect("ftp.domain.com");
$login = ftp_login($ftp,"user","pass");
$list = ftp_rawlist($ftp);
ftp_quit($ftp);
?>

Configure:

'./configure' '--with-mysql=/usr/local/mysql' '--with-config-file-path=/etc' 
'--with-system-regex' '--disable-debug' '--with-exec-dir=/' '--enable-sysvshm=yes' 
'--enable-sysvsem=yes' '--enable-ftp' '--enable-trans-sid' 
'--enable-inline-optimization' 
'--with-cybercash=/usr/work/mck-3.2.0.6-i586-pc-linux-gnulibc2.1' 
'--with-imap=/usr/work/imap-2000a' '--with-oci8' 
'--with-pfpro=/usr/local/verisign/payflowpro/linux'

gdb backtrace:

GNU gdb 19991004
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
Core was generated by `./php'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libpam.so.0...done.
Reading symbols from /lib/libdl.so.2...done.
Reading symbols from /usr/local/verisign/payflowpro/linux/lib/libpfpro.so...done.
Reading symbols from /lib/libm.so.6...done.
Reading symbols from /lib/libcrypt.so.1...done.
Reading symbols from /usr/lib/libz.so.1...done.
Reading symbols from /lib/libnsl.so.1...done.
Reading symbols from /usr/local/mysql/lib/mysql/libmysqlclient.so.10...done.
Reading symbols from /lib/libresolv.so.2...done.
Reading symbols from /ora/app/lib/libclntsh.so.8.0...done.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
Reading symbols from /lib/libpthread.so.0...done.
Reading symbols from /ora/app/lib/libwtc8.so...done.
Reading symbols from /lib/libnss_files.so.2...done.
Reading symbols from /lib/libnss_nisplus.so.2...done.
Reading symbols from /lib/libnss_nis.so.2...done.
#0  0x400cb364 in pfproVersion () from 
/usr/local/verisign/payflowpro/linux/lib/libpfpro.so
(gdb) bt
#0  0x400cb364 in pfproVersion () from 
/usr/local/verisign/payflowpro/linux/lib/libpfpro.so
#1  0x4071da75 in __new_tmpfile () at tmpfile.c:41
#2  0x806fdac in ftp_genlist (ftp=0x82391c0, cmd=0x8160926 "LIST", path=0x81f3944 ".") 
at ftp.c:1137
#3  0x806ed8b in ftp_list (ftp=0x82391c0, path=0x81f3944 ".") at ftp.c:420
#4  0x806dc5c in php_if_ftp_rawlist (ht=2, return_value=0x82390dc, this_ptr=0x0, 
return_value_used=1) at php_ftp.c:446
#5  0x8109950 in execute (op_array=0x823906c) at ./zend_execute.c:1504
#6  0x80e36f8 in zend_execute_scripts (type=8, file_count=3) at zend.c:743
#7  0x80692e8 in php_execute_script (primary_file=0xbffffaa4) at main.c:1206
#8  0x8067b11 in main (argc=1, argv=0xbffffb04) at cgi_main.c:717
(gdb) quit


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