From: Arnaud Le Blanc Date: Mon, 8 Sep 2008 09:12:51 +0000 (+0000) Subject: fix empty-value case in rfc1867 post handler X-Git-Tag: BEFORE_HEAD_NS_CHANGE~462 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5531e0381afb1384ea97b9bc84295e66497029aa;p=php fix empty-value case in rfc1867 post handler --- diff --git a/main/rfc1867.c b/main/rfc1867.c index 27bdf928a5..21642c59ff 100644 --- a/main/rfc1867.c +++ b/main/rfc1867.c @@ -1172,6 +1172,7 @@ static SAPI_POST_HANDLER_FUNC(rfc1867_post_handler_unicode) goto var_done; } } else { + u_val_len = 0; u_val = USTR_MAKE(""); }