httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitry Khrustalev <d...@bog.msu.su>
Subject Re: calling pstrdup() on value before table_set?
Date Sun, 21 Dec 1997 14:32:17 GMT


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