From: William A. Rowe Jr Date: Fri, 2 Jan 2009 19:01:01 +0000 (+0000) Subject: document some nonsense it may be sizeof off_t > sizeof size_t. X-Git-Tag: 2.3.1~19 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=801a5aa379b0938023bc5dcbb2ac3da1b23d2533;p=apache document some nonsense it may be sizeof off_t > sizeof size_t. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@730815 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/util_script.c b/server/util_script.c index 11c10fd87c..fe14d0d952 100644 --- a/server/util_script.c +++ b/server/util_script.c @@ -816,6 +816,9 @@ AP_DECLARE(apr_status_t) ap_body_to_table(request_rec *r, apr_table_t **table) if (!rv) { apr_size_t total; + /* XXX where's our test that len fits in memory??? + * theoretically can be a large file > ram space + */ buffer = apr_palloc(tpool, len+1); total = len+1;