Bug #3034: SetCookie bug
| From: | mog at linux dot nu | Date: | Fri, 24 Dec 1999 01:10:46 +0000 |
| Subject: | Bug #3034: SetCookie bug | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-13977@lists.php.net to get a copy of this message | ||
From: mog@linux.nu
Operating system: win32 cgi
PHP version: 3.0.11
PHP Bug Type: Reproduceable crash
Bug description: SetCookie bug
This code crashes php-3.11 win32 cgi and php4-b3
In win32 cgi mode this brings up a "Access Violation" box.
web server is Apache/1.3.9-win32.
<?PHP
$text = "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%";
SetCookie("cookie",$text,0); // This is wher PHP (3.11|4b3) crashes
?>
php3.ini is unmodified except for modules stuff that wasn't working anyway