/[Apache-SVN]
ViewVC logotype

Revision 1848686


Jump to revision: Previous Next
Author: jim
Date: Tue Dec 11 14:16:13 2018 UTC (5 years, 4 months ago)
Changed paths: 4
Log Message:
Merge r1848236 from trunk:

core: Fix incorrect substitution of env vars in directives containing multiple env vars.

In ap_resolve_env(), the string returned from getenv() should be copied since
the returned string may be statically allocated.

This fixes an issue where the value for the last env var is substituted for all
env vars in a directive containing multiple env vars.

Submitted by: hwibell
Reviewed by: hwibell, covener, jim


Changed paths

Path Details
Directoryhttpd/httpd/branches/2.4.x/ modified , props changed
Directoryhttpd/httpd/branches/2.4.x/CHANGES modified , text changed
Directoryhttpd/httpd/branches/2.4.x/STATUS modified , text changed
Directoryhttpd/httpd/branches/2.4.x/server/core.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26