]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Do not access memory past the buffer end.
authorkib <kib@FreeBSD.org>
Thu, 16 Feb 2017 06:36:16 +0000 (06:36 +0000)
committerkib <kib@FreeBSD.org>
Thu, 16 Feb 2017 06:36:16 +0000 (06:36 +0000)
commit26c9cf0fae31c88b4ef0fe899b4d7421e096b3db
tree11e95ec0cc327ac23612713cad2d19081c0e2de7
parentccda04f59a3a9917e381b2cb8e67cfb877224e4b
Do not access memory past the buffer end.
Do not accept and silently truncate too long hostname.

Reported and tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
sys/fs/nfsclient/nfs_clvfsops.c