]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFstable/10 r292855:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 29 Dec 2015 01:09:53 +0000 (01:09 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 29 Dec 2015 01:09:53 +0000 (01:09 +0000)
commit642254194e8457bd3c30e0798b7851a15a901b4e
tree6890697baca8fc3597b2850d5990ced3926c19b0
parent1ba7a30f2bde8e51b71e39a636f5ffb4e77b567e
MFstable/10 r292855:

MFC r292585:

Prevent use-after-free with ctx->ns in set_nameservers(..), which could occur
if the memory wasn't allocated again later on

Reported by: Coverity
Submitted by: Miles Ohlrich <miles.ohlrich@isilon.com>
Sponsored by: EMC / Isilon Storage Division

git-svn-id: svn://svn.freebsd.org/base/stable/9@292856 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/uhsoctl/uhsoctl.c