cvs: php4 /main SAPI.c
| From: | Stefan Esser | Date: | Mon, 14 Jan 2002 13:36:54 +0000 |
| Subject: | cvs: php4 /main SAPI.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-9059@lists.php.net to get a copy of this message | ||
sesser Mon Jan 14 08:36:54 2002 EDT
Modified files:
/php4/main SAPI.c
Log:
fix for bug #14776
Index: php4/main/SAPI.c
diff -u php4/main/SAPI.c:1.128 php4/main/SAPI.c:1.129
--- php4/main/SAPI.c:1.128 Sun Dec 16 18:21:52 2001
+++ php4/main/SAPI.c Mon Jan 14 08:36:54 2002
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: SAPI.c,v 1.128 2001/12/16 23:21:52 sesser Exp $ */
+/* $Id: SAPI.c,v 1.129 2002/01/14 13:36:54 sesser Exp $ */
#include <ctype.h>
#include <sys/stat.h>
@@ -478,6 +478,7 @@
ptr_len = strlen(ptr);
MAKE_STD_ZVAL(repl_temp);
+ Z_TYPE_P(repl_temp) = IS_STRING;
Z_STRVAL_P(repl_temp) = emalloc(32);
Z_STRLEN_P(repl_temp) = sprintf(Z_STRVAL_P(repl_temp),
"realm=\"\\1-%ld\"", myuid);
/* Modify quoted realm value */