php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59014 HttpRequest::resetCookies() crashes when passing true
Submitted: 2009-12-30 08:12 UTC Modified: 2009-12-30 11:24 UTC
From: felipe@php.net Assigned: mike (profile)
Status: Not a bug Package: pecl_http (PECL)
PHP Version: 5_3 SVN-2009-12-30 (dev) OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: felipe@php.net
New email:
PHP Version: OS:

 

 [2009-12-30 08:12 UTC] felipe@php.net
Description:
------------
I'm using libcurl 7.18.2.

See below. Well, probably is missing some check or it's a libcurl bug. :D

Reproduce code:
---------------
<?php

$x = new httprequest;
$x->resetcookies(true);

Expected result:
----------------
No crash.

Actual result:
--------------
Starting program: /home/felipe/dev/php5/sapi/cli/php -dextension=http.so -r '$x = new httprequest; $x->resetcookies(true);'
[Thread debugging using libthread_db enabled]
[New Thread 0xb77e88e0 (LWP 9804)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb77e88e0 (LWP 9804)]
0xb75a7c5b in ?? () from /usr/lib/libcurl-gnutls.so.4
(gdb) bt full
#0  0xb75a7c5b in ?? () from /usr/lib/libcurl-gnutls.so.4
No symbol table info available.
#1  0xb763b37e in ?? () from /usr/local/lib/php/extensions/debug-zts-20090626/http.so
No symbol table info available.
#2  0xb75d3093 in ?? () from /usr/lib/libcurl-gnutls.so.4
No symbol table info available.
#3  0x09c69908 in ?? ()
No symbol table info available.
#4  0xb75c22a0 in ?? () from /usr/lib/libcurl-gnutls.so.4
No symbol table info available.
#5  0x00000000 in ?? ()
No symbol table info available.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-12-30 10:08 UTC] mike@php.net
Sorry, but your problem does not imply a bug in PECL itself.  For a
list of more appropriate places to ask for help using PECL, please
visit http://pecl.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PECL.

Unfortunately, it is; see:

http://permalink.gmane.org/gmane.comp.web.curl.library/21951
http://permalink.gmane.org/gmane.comp.web.curl.library/26189
 [2009-12-30 11:24 UTC] felipe@php.net
Ops... :P

Thanks!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 11:01:27 2024 UTC