Re: threaded prof signals

2013-10-03 Thread Philip Guenther
On Fri, 16 Aug 2013, Ted Unangst wrote: > As per http://research.swtch.com/macpprof > > We deliver all prof signals to the main thread, which is unlikely to > result in accurate profiling info. I think the diff below fixes things. How about we take an idea from FreeBSD and have hardclock() just s

Re: Possible buffer overflow in nd6_rtr.c

2013-10-03 Thread Otto Moerbeek
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

2013-10-03 Thread Loganaden Velvindron
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