freebsd-dev/contrib/netbsd-tests
Enji Cooper 20a4ce8bf2 Redo fix for CID 979581
The previous change was flawed in terms of how it calculated the
buffer length for the sockaddr_un object. Use SUN_LEN where
appropriate and mute the Coverity complaint by using memset(.., 0, ..)
to zero out the entire structure instead of setting .sun_len to a bogus
value and strlcpy'ing in the contents of argv[1].

SUN_LEN is now being passed to bind(2) as well. For some odd reason
this wasn't flagged as a bug with Coverity.

Reported by:	jilles, jmallett
MFC after:	2 days
X-MFC with:	r311233
2017-01-05 07:46:57 +00:00
..
bin Checkpoint initial integration work 2016-08-12 08:50:05 +00:00
crypto Checkpoint initial integration work 2016-08-12 08:50:05 +00:00
dev Checkpoint initial integration work 2016-08-12 08:50:05 +00:00
fs Redo fix for CID 979581 2017-01-05 07:46:57 +00:00
games Restore pathing for factor(1), which unnecessarily diverged in r278616 2016-12-03 03:13:32 +00:00
include Checkpoint initial integration work 2016-08-12 08:50:05 +00:00
ipf Checkpoint initial integration work 2016-08-12 08:50:05 +00:00
kernel Fix tests/sys/kqueue NetBSD tests on 32-bit platforms by using proper 2016-09-06 17:22:25 +00:00
lib run: ensure pthread_condattr_{init,setclock} is successful 2017-01-04 09:06:49 +00:00
libexec/ld.elf_so
modules
net Checkpoint initial integration work 2016-08-12 08:50:05 +00:00
rump Checkpoint initial integration work 2016-08-12 08:50:05 +00:00
sbin Checkpoint initial integration work 2016-08-12 08:50:05 +00:00
share Checkpoint initial integration work 2016-08-12 08:50:05 +00:00
sys Checkpoint initial integration work 2016-08-12 08:50:05 +00:00
usr.bin Remove expected failure for :basic (effectively reverting r305007, r305031) 2016-09-19 06:39:08 +00:00
usr.sbin Checkpoint initial integration work 2016-08-12 08:50:05 +00:00
FREEBSD-upgrade
h_macros.h Checkpoint initial integration work 2016-08-12 08:50:05 +00:00