Re: Possible buffer overflow in nd6_rtr.c
On Thu, Oct 03, 2013 at 08:42:17AM -0700, Loganaden Velvindron wrote: > Hi All, > > >From nd6_rtr.c: > > bzero(&ifra, sizeof(ifra)); > /* >* in6_update_ifa() does not use ifra_name, but we accurately set it >* for safety. >*/ > strncpy(ifra.ifra_name, if
Possible buffer overflow in nd6_rtr.c
Hi All, >From nd6_rtr.c: bzero(&ifra, sizeof(ifra)); /* * in6_update_ifa() does not use ifra_name, but we accurately set it * for safety. */ strncpy(ifra.ifra_name, ifp->if_xname, sizeof(ifra.ifra_name)); ifra.ifra_addr.sin6_family = AF_I