php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58133 Session handler through unix socket
Submitted: 2008-03-31 13:40 UTC Modified: 2008-04-16 16:06 UTC
From: vladimir dot shebaldenkov at gmail dot com Assigned:
Status: Closed Package: memcache (PECL)
PHP Version: 5.2.5 OS:
Private report: No CVE-ID: None
 [2008-03-31 13:40 UTC] vladimir dot shebaldenkov at gmail dot com
Description:
------------
php.ini:
session.save_handler = memcache
session.save_path = "unix:///tmp/memcached.sock:0"

extension.ini:
[skip]
extension=session.so
extension=memcache.so

result:
Segmentation fault: 11 (core dumped)

When memcached run without unix socket, session.save_path="tcp://localhost:11211" works correct.

I suppose incorrect url parsing in memcache_session.c, line 64:
url = php_url_parse_ex(save_path+i, j-i);



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-04-16 16:06 UTC] mikael at synd dot info
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 08:01:29 2024 UTC