diff options
author | asomers <asomers@FreeBSD.org> | 2017-05-30 22:45:01 +0000 |
---|---|---|
committer | asomers <asomers@FreeBSD.org> | 2017-05-30 22:45:01 +0000 |
commit | b6ed275261198dcfc86c8abb2240ce30bf0ea10e (patch) | |
tree | fee13f2069a39986b32b4c62a68d3621b951584b /bin/chflags | |
parent | 1240fc6c944ddc260699dcc257a5ed861d3acc8f (diff) | |
download | FreeBSD-src-b6ed275261198dcfc86c8abb2240ce30bf0ea10e.zip FreeBSD-src-b6ed275261198dcfc86c8abb2240ce30bf0ea10e.tar.gz |
MFC r317755, r317758
r317755:
Various Coverity fixes in ifconfig(8)
* Exit early if kldload(2) fails (1011259). This is the only change that
affects ifconfig's behavior.
* Close memory and resource leaks (1305624, 1305205, 1007100)
* Mark usage() as _Noreturn (1305806, 1305750)
* Fix some dereference after null checks (1011474, 270774)
Reported by: Coverity
CID: 1305624, 1305205, 1007100, 1305806, 1305750, 1011474,
CID: 270774, 1011259
Reviewed by: cem
Sponsored by: Spectra Logic Corp
Differential Revision: https://reviews.freebsd.org/D10587
r317758:
Unbreak ifconfig for mlx4en(4) after r317755
ifconfig doesn't correctly infer mlx interfaces' module names, so it will
attempt to load the mlx(4) module even when not necessary.
Reported by: rstone
X-MFC-With: 317755
Sponsored by: Spectra Logic Corp
Diffstat (limited to 'bin/chflags')
0 files changed, 0 insertions, 0 deletions