diff options
author | Stefan Esser <sesser@php.net> | 2004-09-13 16:00:23 +0000 |
---|---|---|
committer | Stefan Esser <sesser@php.net> | 2004-09-13 16:00:23 +0000 |
commit | 0f860d8f340545b42319d7a3d7ef7208c565225c (patch) | |
tree | d81b19130a5c93904793c25529d8b0f23f3f6528 /main/rfc1867.c | |
parent | 12752a4044ab8b68f3d019685a1cef0605a202f5 (diff) | |
download | php-git-0f860d8f340545b42319d7a3d7ef7208c565225c.tar.gz |
only allow valid arrays at this point
Diffstat (limited to 'main/rfc1867.c')
-rw-r--r-- | main/rfc1867.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; |