httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: [BUG]: "segv attempting to run some cgis" on OTHER:qnx
Date Sun, 02 Mar 1997 21:53:36 GMT
On Sun, 2 Mar 1997, Randy Terbush wrote:
> > 	- I didn't think that va_arg would necessarily work properly
> > 	  with a NULL (ie. the NULL termination), since NULL is
> > 	  generally 0 and 0 is an int not a char* so va_arg may not
> > 	  match it?
> 
> Hmm, I had thought that last I looked NULL was void *(0) or 
> something. You are correct though that it is 0 on FreeBSD. and BSDI.

0 is a special integer.  It's also a pointer of any type.

> >         av[idx] = escape_shell_cmd(r->pool, t);
> >         av[idx] = t;

Ok so I like just woke up, but this seems totally suspect to me.  It
just tosses the result of escape_shell_cmd.

Dean


Mime
View raw message