HomeFreeBSD

Prevent use-after-free with ctx->ns in set_nameservers(..), which could occur

Description

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

Details

Provenance
ngieAuthored on
Parents
rS292584: Set env vars from values on the efi loader command line.
Branches
Unknown
Tags
Unknown