mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
2295. [bug] Silence static overrun error in bin/named/lwaddr.c.
[RT #17459]
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -1,3 +1,6 @@
|
||||
2295. [bug] Silence static overrun error in bin/named/lwaddr.c.
|
||||
[RT #17459]
|
||||
|
||||
2294. [placeholder] rt17435
|
||||
|
||||
2293. [func] Add ACL regression test. [RT #17375]
|
||||
|
@@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: lwaddr.c,v 1.8 2007/06/19 23:46:59 tbox Exp $ */
|
||||
/* $Id: lwaddr.c,v 1.9 2008/01/11 03:01:28 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
@@ -81,7 +81,7 @@ lwaddr_lwresaddr_fromnetaddr(lwres_addr_t *la, isc_netaddr_t *na) {
|
||||
} else {
|
||||
la->family = LWRES_ADDRTYPE_V6;
|
||||
la->length = 16;
|
||||
memcpy(la->address, &na->type.in, 16);
|
||||
memcpy(la->address, &na->type.in6, 16);
|
||||
}
|
||||
return (ISC_R_SUCCESS);
|
||||
}
|
||||
|
Reference in New Issue
Block a user