|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-08-30 07:51 UTC] mike@php.net
[2007-09-18 07:13 UTC] mike@php.net
[2008-03-25 08:43 UTC] mike@php.net
[2008-06-21 09:13 UTC] troy at yortfolio dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 11:00:02 2025 UTC |
Description: ------------ Resetting cookies list (empty or not) causes segfault. Reproduce code: --------------- $objHttp = new HttpRequest('http://www.google.com'); $objHttp->resetCookies(); // -> segmentation fault // OR $arrCookies = array('test' => 'testvalue'); $objHttp = new HttpRequest('http://www.google.com'); $objHttp->setCookies($arrCookies); var_dump($objHttp->getCookies()); $objHttp->resetCookies(); // -> segmentation fault Expected result: ---------------- no segfault :)