Bug #60056 [Fbk->Csd]: Basic authorization crashes Windows CLI web server
| From: | pajoye@php.net | Date: | Sun, 16 Oct 2011 10:33:08 +0000 |
| Subject: | Bug #60056 [Fbk->Csd]: Basic authorization crashes Windows CLI web server | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-164353@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=60056&edit=1
ID: 60056
Updated by: pajoye@php.net
Reported by: david dot gero at ec dot gc dot ca
Summary: Basic authorization crashes Windows CLI web server
-Status: Feedback
+Status: Closed
Type: Bug
Package: Built-in web server
Operating System: Windows XP
PHP Version: 5.4.0beta1
-Assigned To:
+Assigned To: pajoye
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2011-10-16 01:08:18] laruence@php.net
see #55755, fixed already, thanks
------------------------------------------------------------------------
[2011-10-15 15:54:45] cataphract@php.net
Please try using this snapshot:
http://snaps.php.net/php5.4-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
This appears to have already been fixed.
------------------------------------------------------------------------
[2011-10-13 20:33:30] david dot gero at ec dot gc dot ca
Package: should be PHP built-in web server related
------------------------------------------------------------------------
[2011-10-13 20:10:14] david dot gero at ec dot gc dot ca
The second error probably happens on lines 1766 and 1869 of sapi/cli/php_cli_server.c where you are
using Z_STRVAL_PP(val) instead of just *val
request.headers are strings, not Z_STRs
Look at the other examples of zend_hash_find in php_cli_server.c
------------------------------------------------------------------------
[2011-10-13 19:13:29] david dot gero at ec dot gc dot ca
The first error happens at line 805 of main/SAPI.c
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=60056
--
Edit this bug report at https://bugs.php.net/bug.php?id=60056&edit=1