From: Arnaud Le Blanc Date: Sat, 6 Sep 2008 17:18:40 +0000 (+0000) Subject: MFH: Fixed #43540 (rfc1867 handler newlength problem) X-Git-Tag: BEFORE_NS_RULES_CHANGE~458 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=898ff10dc0f799ecf997cb3c64a96f2751884187;p=php MFH: Fixed #43540 (rfc1867 handler newlength problem) --- diff --git a/main/rfc1867.c b/main/rfc1867.c index 1eda4f94c2..16317aa351 100644 --- a/main/rfc1867.c +++ b/main/rfc1867.c @@ -925,7 +925,7 @@ SAPI_API SAPI_POST_HANDLER_FUNC(rfc1867_post_handler) if (sapi_module.input_filter(PARSE_POST, param, &value, value_len, &new_val_len TSRMLS_CC)) { if (php_rfc1867_callback != NULL) { multipart_event_formdata event_formdata; - size_t newlength = 0; + size_t newlength = new_val_len; event_formdata.post_bytes_processed = SG(read_post_bytes); event_formdata.name = param;