You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2009/01/02 20:01:01 UTC
svn commit: r730815 - /httpd/httpd/trunk/server/util_script.c
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;