Skip to content

Commit 8824153

Browse files
author
Stefan Esser
committed
MFH: fix for bug php#14776
1 parent c4f239e commit 8824153

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main/SAPI.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,7 @@ SAPI_API int sapi_add_header_ex(char *header_line, uint header_line_len, zend_bo
461461

462462
ptr_len = strlen(ptr);
463463
MAKE_STD_ZVAL(repl_temp);
464+
Z_TYPE_P(repl_temp) = IS_STRING;
464465
Z_STRVAL_P(repl_temp) = emalloc(32);
465466
Z_STRLEN_P(repl_temp) = sprintf(Z_STRVAL_P(repl_temp), "realm=\"\\1-%ld\"", myuid);
466467
/* Modify quoted realm value */

0 commit comments

Comments
 (0)