Date: Thu, 23 Oct 2008 00:31:15 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.sbin/nscd cachelib.c Message-ID: <200810230031.m9N0VN3b004020@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
delphij 2008-10-23 00:31:15 UTC
FreeBSD src repository
Modified files:
usr.sbin/nscd cachelib.c
Log:
SVN rev 184189 on 2008-10-23 00:31:15Z by delphij
Slightly adjust code logic: we allocate a "size"ed length of memory, not
size+1. Use strlcpy() to avoid using - 1 as length for strncpy().
Revision Changes Path
1.4 +5 -5 src/usr.sbin/nscd/cachelib.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810230031.m9N0VN3b004020>
