Commit f86c5d30 authored by Mark Andrews's avatar Mark Andrews

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

                        [RT #17458]
parent 95c5f1d1
2312. [cleanup] Silence Coverity warning in lib/isc/unix/socket.c.
[RT #17458]
2311. [bug] IPv6 addresses could match IPv4 ACL entries and
vice versa. [RT #17462]
......
......@@ -15,7 +15,7 @@
* 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 */
......@@ -2069,7 +2069,7 @@ internal_accept(isc_task_t *me, isc_event_t *ev) {
*/
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,
(void *)&addrlen);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment