httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@algroup.co.uk>
Subject Re: [BUG] NT version fails for CGI with ?arg
Date Tue, 21 Oct 1997 12:19:27 GMT
Paul Sutton wrote:
> 
> There are two PRs about this. Any access to a CGI with a query string
> which does not contain either + or = fails (crashes Apache).
> 
> This patch fixes it. The arguments to create_argv() seemed to be wrong.
> Since NT never uses suexec, there shouldn't be an initial path argument,
> and the args arguments were in the wrong place. So I've moved the path
> argument to the "argv0" argument, and the "args" argument to correct
> place.

The ap_assert(0) doesn't help any, either.

> Was there any reason why the args to create_argv() were in a different
> order on NT from Unix?

Dunno.

Cheers,

Ben.

-- 
Ben Laurie            |Phone: +44 (181) 735 0686|Apache Group member
Freelance Consultant  |Fax:   +44 (181) 735 0689|http://www.apache.org
and Technical Director|Email: ben@algroup.co.uk |Apache-SSL author
A.L. Digital Ltd,     |http://www.algroup.co.uk/Apache-SSL
London, England.      |"Apache: TDG" http://www.ora.com/catalog/apache

Mime
View raw message