]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Prevent use-after-free with ctx->ns in set_nameservers(..), which could occur
authorEnji Cooper <ngie@FreeBSD.org>
Tue, 22 Dec 2015 05:57:23 +0000 (05:57 +0000)
committerEnji Cooper <ngie@FreeBSD.org>
Tue, 22 Dec 2015 05:57:23 +0000 (05:57 +0000)
commite830a247a1c1b3381d0e20868b93e1e047893da0
tree76d8104eb1815cf9a6e6ce9bd0fc4ec929e8f704
parent21fddb1173f4130b39dc2c29ab75f056acc0e63a
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>
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
usr.sbin/uhsoctl/uhsoctl.c