Mercurial > hg > nginx-quic
comparison src/http/ngx_http_script.h @ 6731:3f94a0fc05cf
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.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 10 Oct 2016 16:15:41 +0300 |
parents | d620f497c50f |
children | e4590dfd97ff |
comparison
equal
deleted
inserted
replaced
6730:1606a817c1d4 | 6731:3f94a0fc05cf |
---|