php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10652 payflow pro support core dumps ftp
Submitted: 2001-05-03 17:41 UTC Modified: 2001-12-18 07:15 UTC
From: brad at omnis dot com Assigned:
Status: Closed Package: Verisign Payflow Pro related
PHP Version: 4.0 Latest CVS (03/05/2001) OS: Linux 6.2 EE
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: brad at omnis dot com
New email:
PHP Version: OS:

 

 [2001-05-03 17:41 UTC] brad at omnis dot com
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-27 05:27 UTC] sander@php.net
Does this problem still occur with the latest RC? http://download.php.net/~zeev/php-4.1.0RC3.tar.gz
 [2003-08-05 10:40 UTC] bduell at ncacasi dot org
I have verified, through VeriSign, that the SDK of PayflowPro (currently, v. 3.06) is statically linked against the openssl libraries.

They have no plans on changing this design, therefor we will be changing payment processors.

Good luck!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 16:01:30 2024 UTC