]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit - usr.sbin/pkg_install/updating/main.c
MFC r228670:
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 1 Jan 2012 23:18:34 +0000 (23:18 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 1 Jan 2012 23:18:34 +0000 (23:18 +0000)
commit243d6463bc4b808813e7b05bc6baef0fac5dcef9
tree848493b20a745f5a93c99a86851112d286b84daf
parente432a6e9444b2b8d08dc08411eae79e8d38bee7d
MFC r228670:

In usr.sbin/pkg_install/updating/main.c, use the size of the destination
buffer as size argument to strlcpy(), not the length of the source.

git-svn-id: svn://svn.freebsd.org/base/stable/9@229234 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/pkg_install/updating/main.c