mirror of
https://github.com/apache/httpd.git
synced 2025-08-10 02:56:11 +00:00
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:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user