]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
elfctl: initialize features
authorkevans <kevans@FreeBSD.org>
Mon, 2 Mar 2020 04:22:38 +0000 (04:22 +0000)
committerkevans <kevans@FreeBSD.org>
Mon, 2 Mar 2020 04:22:38 +0000 (04:22 +0000)
commitc1a756ecf32c5b5f31218ac29136753830a9e1d1
treece57dffa367607789c83f6b94c776aca22729543
parentbb65d45b58ba1b25076abd06606f2b64b6f7642e
elfctl: initialize features

GCC points out a couple levels down in convert_to_features that this may be
used uninitialized. Indeed, this is true- initialize it to NULL so that we
at least deref a null pointer.
usr.bin/elfctl/elfctl.c