From: Stefan Esser Date: Mon, 13 Sep 2004 16:00:23 +0000 (+0000) Subject: only allow valid arrays at this point X-Git-Tag: PRE_NEW_VM_GEN_PATCH~314 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0f860d8f340545b42319d7a3d7ef7208c565225c;p=php only allow valid arrays at this point --- diff --git a/main/rfc1867.c b/main/rfc1867.c index 28471d5179..7350508cff 100644 --- a/main/rfc1867.c +++ b/main/rfc1867.c @@ -950,6 +950,10 @@ SAPI_API SAPI_POST_HANDLER_FUNC(rfc1867_post_handler) c++; } else if (*tmp == ']') { c--; + if (tmp[1] && tmp[1] != '[') { + skip_upload = 1; + break; + } } if (c < 0) { skip_upload = 1;