Mercurial > hg > nginx-quic
comparison conf/fastcgi.conf @ 7408:8af6dceeb648 stable-1.14
Events: fixed handling zero-length client address.
On Linux recvmsg() syscall may return a zero-length client address when
receiving a datagram from an unbound unix datagram socket. It is usually
assumed that socket address has at least the sa_family member. Zero-length
socket address caused buffer over-read in functions which receive socket
address, for example ngx_sock_ntop(). Typically the over-read resulted in
unexpected socket family followed by session close. Now a fake socket address
is allocated instead of a zero-length client address.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Fri, 01 Jun 2018 16:53:02 +0300 |
parents | 62869a9b2e7d |
children |
comparison
equal
deleted
inserted
replaced
7407:b1a166ab7f04 | 7408:8af6dceeb648 |
---|