|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-08-18 23:33 UTC] bwoebi@php.net
[2015-08-18 23:33 UTC] bwoebi@php.net
-Status: Open
+Status: Closed
[2015-08-18 23:52 UTC] neclimdul at gmail dot com
[2015-09-03 18:10 UTC] ab@php.net
[2016-07-20 11:36 UTC] davey@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 23:00:01 2025 UTC |
Description: ------------ setrawcookie seems to be the cause of this bug but it actually requires a couple things to trigger. The rawurlencode and the PDO statement seem required. I'm not sure how to get gdb working right with php-fpm where I triggered this bug. Because of the cookie involved it obviously doesn't work from the command line though. Test script: --------------- <?php setrawcookie('cookie', rawurlencode('value'), $_SERVER['REQUEST_TIME'] + 31536000, '/'); $dbh = new PDO('mysql:host=localhost;dbname=data', 'root', ''); Expected result: ---------------- cookie is set Actual result: -------------- 502 response and SIGSEGV in log