Mercurial > hg > nginx-quic
comparison src/core/nginx.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 | 4bce3edfac2c |
children | 79ac653ae2d0 |
comparison
equal
deleted
inserted
replaced
6730:1606a817c1d4 | 6731:3f94a0fc05cf |
---|