|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-08-16 18:00 UTC] moisadoru at gmail dot com
[2011-07-03 04:22 UTC] geissert@php.net
-Status: Open
+Status: Feedback
[2011-07-03 04:22 UTC] geissert@php.net
[2013-02-18 00:33 UTC] php-bugs at lists dot php dot net
[2013-02-18 00:58 UTC] moisadoru at gmail dot com
-Status: No Feedback
+Status: Closed
[2013-02-18 00:58 UTC] moisadoru at gmail dot com
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 14:00:01 2025 UTC |
Description: ------------ When setting a cookie with setcookie(), if the expires parameter is a positive integer, the PHP child process segfaults. Environment; Apache 2.2.12, PHP 6.0-200908152030, Ubuntu 9.10 alpha3 linux kernel 2.6.31 64bit. Reproduce code: --------------- <?php header('Set-Cookie: cookie1=foo1; expires=Sun, 16-Aug-2009 16:39:00 GMT; secure; HttpOnly', TRUE, 200); // works setcookie('cookie2', 'foo2',); // works setcookie('cookie3', 'foo3', -3600); // works setcookie('cookie4', 'foo4', 3600); // segfaults echo '<pre>'; print_r($_COOKIE); ?> Expected result: ---------------- $_COOKIE array dumped to screen Actual result: -------------- Apache error log: [Sun Aug 16 19:06:38 2009] [notice] child pid 22565 exit signal Segmentation fault (11)