On Tue, Jan 6, 2009 at 10:05 AM, <[email protected]> wrote: > Author: trawick > Date: Tue Jan 6 07:05:33 2009 > New Revision: 731965 > > URL: http://svn.apache.org/viewvc?rev=731965&view=rev > Log: > the length arguments are apr_size_t, not int > > Modified: > httpd/httpd/trunk/modules/generators/mod_cgid.c > > Modified: httpd/httpd/trunk/modules/generators/mod_cgid.c > URL: > http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/generators/mod_cgid.c?rev=731965&r1=731964&r2=731965&view=diff > > ============================================================================== > --- httpd/httpd/trunk/modules/generators/mod_cgid.c (original) > +++ httpd/httpd/trunk/modules/generators/mod_cgid.c Tue Jan 6 07:05:33 > 2009 > @@ -354,7 +354,7 @@ > va_start(ap, count); > for (i = 0; i < count; i++) { > vec[i].iov_base = va_arg(ap, caddr_t); > - vec[i].iov_len = va_arg(ap, int); > + vec[i].iov_len = va_arg(ap, apr_size_t);
IIRC, size_t is 64-bit with a 64-bit build on AIX; someone with access to the right bits (and bored out of their skull) could look for some fun behavior with the original code
