eiwd

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

commit 81ec93fdcc754a286faa410f470b2af401ccd1e4
parent 269377c92f96a7e127694fd0f659262463426edf
Author: James Prestwood <prestwoj@gmail.com>
Date:   Wed, 16 Oct 2019 15:29:44 -0700

anqp: fix potential NULL pointer dereference

Diffstat:
Msrc/anqp.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/anqp.c b/src/anqp.c @@ -287,6 +287,9 @@ uint32_t anqp_request(uint32_t ifindex, const uint8_t *addr, uint32_t duration = 300; struct netdev *netdev = netdev_find(ifindex); + if (!netdev) + return 0; + /* * TODO: Netdev dependencies will eventually be removed so we need * another way to figure out wiphy capabilities.