httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: calling pstrdup() on value before table_set?
Date Sun, 21 Dec 1997 19:42:12 GMT
So it is...

You didn't answer my other question though:  can you supply us with a
patch? 

Dean

On Sun, 21 Dec 1997, Dmitry Khrustalev wrote:

> 
> 
> On Sun, 21 Dec 1997, Dean Gaudet wrote:
> 
> > Suppose new = internal_internal_redirect(foo, r).  If you then
> > do something which creates a string var or val in new->pool and
> > then table_xxxn(new->err_headers_out, var, val) you'll have a bug
> > on your hands... because new->pool has a shorter lifespan than
> > new->err_headers_out->pool (which happens to be the same as r->pool).
> 
> But new->pool == r->pool in this case.
> 
> 	-Dima
> 
> 


Mime
View raw message