Bug #79267 [Opn->Fbk]: to much setcookie calls crashes the script

From: Date: Thu, 13 Feb 2020 00:45:23 +0000
Subject: Bug #79267 [Opn->Fbk]: to much setcookie calls crashes the script
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-225546@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79267&edit=1 ID: 79267 Updated by: requinix@php.net Reported by: williamdes at wdes dot fr Summary: to much setcookie calls crashes the script -Status: Open +Status: Feedback Type: Bug Package: Reproducible crash Operating System: devilbox/php-fpm:7.3-mods PHP Version: Irrelevant Block user comment: N Private report: N New Comment: Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php for *NIX and http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32 Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2020-02-12 23:02:38] williamdes at wdes dot fr Description: ------------ As I reported here https://github.com/phpmyadmin/phpmyadmin/issues/15709 To many calls to the setcookie will crash the process. Reproduced on Docker devilbox/php-fpm:7.1-mods and also 7.2,7.3,8.0 php versions I am not sure that the error is not due to something else than php. Test script: --------------- <?php setcookie("goto","",1577363177,"/@phpmyadmin/a/","",false); setcookie("back","",1577363177,"/@phpmyadmin/a/","",false); for ($i=1; $i < 40; $i++) { setcookie("pmaAuth-$i","",1577363177,"/@phpmyadmin/a/","",false); } Expected result: ---------------- See 200 success Actual result: -------------- 502 bad gateway ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=79267&edit=1

« previous php.bugs (#225546) next »