From: Stefan Esser Date: Mon, 14 Jan 2002 13:36:54 +0000 (+0000) Subject: fix for bug #14776 X-Git-Tag: PRE_ISSET_PATCH~194 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3acaa30c1c56108f48d33c5f01510a34d4dfcbf2;p=php fix for bug #14776 --- diff --git a/main/SAPI.c b/main/SAPI.c index 716d0f6442..ddb888e10a 100644 --- a/main/SAPI.c +++ b/main/SAPI.c @@ -478,6 +478,7 @@ SAPI_API int sapi_add_header_ex(char *header_line, uint header_line_len, zend_bo 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 */