httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r730815 - /httpd/httpd/trunk/server/util_script.c
Date Fri, 02 Jan 2009 19:01:01 GMT
Author: wrowe
Date: Fri Jan  2 11:01:01 2009
New Revision: 730815

URL: http://svn.apache.org/viewvc?rev=730815&view=rev
Log:
document some nonsense it may be sizeof off_t > sizeof size_t.

Modified:
    httpd/httpd/trunk/server/util_script.c

Modified: httpd/httpd/trunk/server/util_script.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/util_script.c?rev=730815&r1=730814&r2=730815&view=diff
==============================================================================
--- httpd/httpd/trunk/server/util_script.c (original)
+++ httpd/httpd/trunk/server/util_script.c Fri Jan  2 11:01:01 2009
@@ -816,6 +816,9 @@
 
             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;



Mime
View raw message