httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 12655] - SSI "include virtual" sometimes causing QUERY_STRING variable to be garbage.
Date Mon, 30 May 2005 16:18:41 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=12655>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=12655


apache-bugs@rojer.pp.ru changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CLOSED                      |REOPENED
         Resolution|WORKSFORME                  |




------- Additional Comments From apache-bugs@rojer.pp.ru  2005-05-30 18:18 -------
the bug still exists in 2.0.54.

the problem is that during subrequest processing, QUERY_STRING is allocated from
subrequest's own r->pool that gets destroyed later, invalidating the table entry
in the global suprocess_env.

apr_pool_join(r->main->pool, r->pool); which, if i'm correct, is supposed to
take care of subrequest's pool lifetime, is effectively a nop when compiled
without APR_POOL_DEBUG (--enable-pool-debug).

there might be other consequences of assuming extended lifetime of subrequest's
pool, but in regard to QUERY_STRING i have made a small patch that i attach to
this bug.

having investigated this i find the issue obvious enough, but i can arrange a
testcase if requested.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message