[PATCH] radius: sanity check for null pointer segfault

Jouni Malinen j at w1.fi
Fri Aug 19 02:42:20 PDT 2016


On Fri, Aug 19, 2016 at 08:59:56AM +0200, Eduardo Abinader wrote:
> Forgot to mention: the mib command was issued was during DFS
> procedure. It may be noticed in the logs.

Thanks, this is the key point. There are number of ctrl_iface commands
that fail in this manner if issued before the AP has actually been fully
enabled. I'll apply the fix (with return 0 instead of return -1, though)
and add a test case to find and fix the other ones as well.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list