Elaborate on low hanging XXX fruit

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@885689 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
William A. Rowe Jr
2009-12-01 08:44:11 +00:00
parent 6a6cc5a680
commit 3e338e488c
6 changed files with 15 additions and 12 deletions

View File

@ -811,7 +811,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
* theoretically can be a large file > ram space.
* need to cast len to apr_size_t but it would mask
* this notable mistake
*/
buffer = apr_palloc(tpool, len+1);