php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57106 apd_set_session_trace_socket()
Submitted: 2006-06-23 09:52 UTC Modified: 2015-02-26 07:35 UTC
From: scfontes at gmail dot com Assigned:
Status: Suspended Package: apd (PECL)
PHP Version: Irrelevant OS: Suse Linux 10.1
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: scfontes at gmail dot com
New email:
PHP Version: OS:

 

 [2006-06-23 09:52 UTC] scfontes at gmail dot com
Description:
------------
when executing (php -e /www/htdocs/script.php
) a simple script containing just "<?php
apd_set_session_trace_socket("127.0.0.1",APD_AF_INET,8080,35);
?> i get the follow message: Warning: apd_set_session_trace_socket() expects parameter 2 to be long, string given in /www/htdocs/apd.php on line 12
Segmentation fault

web server config: apache 1.3.36 + PHP 5.1.4 + APD 1.0.1

configure command: " './configure' '--with-apxs=/www/bin/apxs' '--enable-track-var' '--with-xmlrpc' '--enable-wddx' '--enable-memory-limit' '--with-iconv=/usr/bin/iconv' '--with-zlib' '--with-zend-vm=GOTO' '--enable-sockets' '--enable-mbstring'"

php.ini:
zend_extension =/usr/local/lib/php/extensions/no-debug-non-zts-20050922/apd.so
apd.dumpdir ="/tmp/apd"
apd.statement_trace = 1









Reproduce code:
---------------
<?php
apd_set_session_trace_socket("127.0.0.1",APD_AF_INET,8080,35);
?>

Expected result:
----------------
Warning: apd_set_session_trace_socket() expects parameter 2 to be long, string given in /www/htdocs/apd.php on line 2
Segmentation fault

Actual result:
--------------
Warning: apd_set_session_trace_socket() expects parameter 2 to be long, string given in /www/htdocs/apd.php on line 2
Segmentation fault

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-02-26 07:35 UTC] krakjoe@php.net
-Status: Open +Status: Suspended
 [2015-02-26 07:35 UTC] krakjoe@php.net
APD hasn't had a release in 10 years, this means it's source code is way out of sync with modern PHP.

I'm going to mark this bug as suspended, the report can still be found if a maintainer for APD comes forward.

Sorry about the wait.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 10:01:29 2024 UTC