cvs: php4(PHP_4_0_7) /main SAPI.c
| From: | Stefan Esser | Date: | Mon, 14 Jan 2002 13:43:03 +0000 |
| Subject: | cvs: php4(PHP_4_0_7) /main SAPI.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-9060@lists.php.net to get a copy of this message | ||
sesser Mon Jan 14 08:43:03 2002 EDT
Modified files: (Branch: PHP_4_0_7)
/php4/main SAPI.c
Log:
MFH: fix for bug #14776
Index: php4/main/SAPI.c
diff -u php4/main/SAPI.c:1.113.2.6 php4/main/SAPI.c:1.113.2.7
--- php4/main/SAPI.c:1.113.2.6 Sun Dec 16 18:20:07 2001
+++ php4/main/SAPI.c Mon Jan 14 08:43:03 2002
@@ -461,6 +461,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 */