]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r318315:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 29 May 2017 06:22:12 +0000 (06:22 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 29 May 2017 06:22:12 +0000 (06:22 +0000)
commit1f238213f0046ba9aeb702dff1628cc815c16a14
tree28d81a9b5877528480af1b8b681047ebef077aaa
parenteab7111adc222fe1752fc39bac77e60472efa22e
MFC r318315:

lib/libc/gen/realpath_test: make check result from getcwd(3)

This is being done to avoid dereferencing a NULL pointer via strlcat,
obscuring the underlying issue with the getcwd(3) call.

git-svn-id: svn://svn.freebsd.org/base/stable/10@319093 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/netbsd-tests/lib/libc/gen/t_realpath.c