]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r337522:
authordelphij <delphij@FreeBSD.org>
Mon, 3 Sep 2018 06:55:38 +0000 (06:55 +0000)
committerdelphij <delphij@FreeBSD.org>
Mon, 3 Sep 2018 06:55:38 +0000 (06:55 +0000)
commit06fa09c98f5cd6737f7f0276fdbaaec3512e62b7
tree4ae8e39ed4536380810299e57f0c86a62857cf94
parent692b2bdf71746172fac5ad196a3d7f52ab55e2c3
MFC r337522:

In read_zones(), check if the file name actually fit in the buffer
and make sure it would terminate with nul with strlcpy().

Reviewed by: imp (earlier revision)
Differential Revision: https://reviews.freebsd.org/D16595
usr.sbin/tzsetup/tzsetup.c