diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2016-10-10 16:15:41 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2016-10-10 16:15:41 +0300 |
commit | f594b2bf6dbb49f5e2bc27cc3f27f272a7f95c1c (patch) | |
tree | e3fb4537c60c2cb17c828dac9a5d7971074f16f8 /src/core/ngx_module.h | |
parent | 4c4fdc475450d4faa5a996ff0087ef005ee8a232 (diff) | |
download | nginx-f594b2bf6dbb49f5e2bc27cc3f27f272a7f95c1c.tar.gz nginx-f594b2bf6dbb49f5e2bc27cc3f27f272a7f95c1c.zip |
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 'src/core/ngx_module.h')
0 files changed, 0 insertions, 0 deletions