]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Merge r1848236 from trunk:
authorJim Jagielski <jim@apache.org>
Tue, 11 Dec 2018 14:16:13 +0000 (14:16 +0000)
committerJim Jagielski <jim@apache.org>
Tue, 11 Dec 2018 14:16:13 +0000 (14:16 +0000)
commit94aff00568c70f0b2f5504275ad8513490a8b6ce
tree008517d8e65351436ce53e7943a6c8c4d52648e7
parentae46c54ae785aabba43610d8a210c05d9600dfa4
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

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1848686 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
STATUS
server/core.c