2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-03 16:15:27 +00:00

2312. [cleanup] Silence Coverity warning in lib/isc/unix/socket.c.

[RT #17458]
This commit is contained in:
Mark Andrews
2008-01-22 01:06:33 +00:00
parent 95c5f1d17b
commit f86c5d30de
2 changed files with 5 additions and 2 deletions

View File

@@ -1,3 +1,6 @@
2312. [cleanup] Silence Coverity warning in lib/isc/unix/socket.c.
[RT #17458]
2311. [bug] IPv6 addresses could match IPv4 ACL entries and 2311. [bug] IPv6 addresses could match IPv4 ACL entries and
vice versa. [RT #17462] vice versa. [RT #17462]

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: socket.c,v 1.277 2008/01/18 23:46:58 tbox Exp $ */ /* $Id: socket.c,v 1.278 2008/01/22 01:06:33 marka Exp $ */
/*! \file */ /*! \file */
@@ -2069,7 +2069,7 @@ internal_accept(isc_task_t *me, isc_event_t *ev) {
*/ */
addrlen = sizeof(dev->newsocket->peer_address.type); addrlen = sizeof(dev->newsocket->peer_address.type);
memset(&dev->newsocket->peer_address.type.sa, 0, addrlen); memset(&dev->newsocket->peer_address.type, 0, addrlen);
fd = accept(sock->fd, &dev->newsocket->peer_address.type.sa, fd = accept(sock->fd, &dev->newsocket->peer_address.type.sa,
(void *)&addrlen); (void *)&addrlen);