summaryrefslogtreecommitdiffhomepage
path: root/src/os/unix/ngx_setproctitle.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2016-10-10 16:15:41 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2016-10-10 16:15:41 +0300
commit4891ba59d809133470636671f6714733b9484899 (patch)
tree10607a36e89e00c13d0514e9c34d5d48c8bfecbc /src/os/unix/ngx_setproctitle.c
parente19481f35e45dc6a0016dc11b63095d88137b719 (diff)
downloadnginx-4891ba59d809133470636671f6714733b9484899.tar.gz
nginx-4891ba59d809133470636671f6714733b9484899.tar.bz2
Core: sockaddr lengths now respected by ngx_cmp_sockaddr().
Linux can return AF_UNIX sockaddrs with partially filled sun_path, resulting in spurious comparison failures and failed binary upgrades. Added proper checking of the lengths provided. Reported by Jan Seda, http://mailman.nginx.org/pipermail/nginx-devel/2016-September/008832.html.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions