Klaus Demo nginx / c974bd7
Valgrind: another complaint about uninitialized bytes. Tatsuhiko Kubo 9 years ago
1 changed file(s) with 2 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
3232 } else {
3333 msg.msg_control = (caddr_t) &cmsg;
3434 msg.msg_controllen = sizeof(cmsg);
35
36 ngx_memzero(&cmsg, sizeof(cmsg));
3537
3638 cmsg.cm.cmsg_len = CMSG_LEN(sizeof(int));
3739 cmsg.cm.cmsg_level = SOL_SOCKET;