Mercurial > hg > nginx
comparison auto/nohave @ 9111:68fa4b86ed46
QUIC: better sockaddr initialization.
The qsock->sockaddr field is a ngx_sockaddr_t union, and therefore can hold
any sockaddr (and union members, such qsock->sockaddr.sockaddr, can be used
to access appropriate variant of the sockaddr). It is better to set it via
qsock->sockaddr itself though, and not qsock->sockaddr.sockaddr, so static
analyzers won't complain about out-of-bounds access.
Prodded by Coverity (CID 1530403).
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Sun, 21 May 2023 04:38:45 +0300 |
parents | d620f497c50f |
children |
comparison
equal
deleted
inserted
replaced
9110:235d482ef6bc | 9111:68fa4b86ed46 |
---|