eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 3a17c8e3c546a4014fb41a05cc46ddcf69304044
parent 6febe5bed194163ae1332943a163a0e08a720a6b
Author: James Prestwood <prestwoj@gmail.com>
Date:   Thu, 29 Feb 2024 10:12:15 -0800

nl80211util: check l_genl_attr_recurse return in extract_nested

Caught by static analysis, the recurse operation return was not being
checked.

Diffstat:
Msrc/nl80211util.c | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/nl80211util.c b/src/nl80211util.c @@ -136,9 +136,7 @@ static bool extract_nested(const void *data, uint16_t len, void *o) const struct l_genl_attr *outer = data; struct l_genl_attr *nested = o; - l_genl_attr_recurse(outer, nested); - - return true; + return l_genl_attr_recurse(outer, nested); } static bool extract_u8(const void *data, uint16_t len, void *o)