]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
core: fix c->client_ip for unix socket connections.
authorYann Ylavic <ylavic@apache.org>
Sun, 22 Nov 2020 22:31:31 +0000 (22:31 +0000)
committerYann Ylavic <ylavic@apache.org>
Sun, 22 Nov 2020 22:31:31 +0000 (22:31 +0000)
commit40fa956c583b84e0b6fbca4a7c495eb5d3c9b2f7
tree378d082571ca0fa653f008a6f63441da87741c81
parent856e12699d9df95fd37ce1b5c3111ff276d94a7f
core: fix c->client_ip for unix socket connections.

Catch apr_socket_addr_get() error in core_create_conn() to avoid uninitialized
conn_rec->client_ip. This can happen for mod_proxy connections using unix
sockets, which are not handled by apr_socket_addr_get() until APR's r1883728
(trunk only for now).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1883729 13f79535-47bb-0310-9956-ffa450edef68
server/core.c