mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-21 22:09:23 +01:00
nl80211util: check l_genl_attr_recurse return in extract_nested
Caught by static analysis, the recurse operation return was not being checked.
This commit is contained in:
parent
6febe5bed1
commit
3a17c8e3c5
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user