diff options
author | Jouni Malinen <jouni@codeaurora.org> | 2021-03-01 10:51:20 (GMT) |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2021-03-01 10:51:20 (GMT) |
commit | ed14b29f38e2505fa27fb86fbd26b92834795fc1 (patch) | |
tree | 9d0cefc84ec8760be782374cdcff6eb2cb51e491 /src/crypto/sha1-tlsprf.c | |
parent | 8d80aa3fca8ef88d6721d3bef158b095fab45d5f (diff) | |
download | hostap-ed14b29f38e2505fa27fb86fbd26b92834795fc1.zip hostap-ed14b29f38e2505fa27fb86fbd26b92834795fc1.tar.gz hostap-ed14b29f38e2505fa27fb86fbd26b92834795fc1.tar.bz2 |
wpaspy: Do not mark not-existing UNIX domain socket as UDP
os.stat(path) failure is an ambigious indication of the control
interface "path" type (UDP hostname vs. UNIX domain socket path). The
path may be a valid UNIX domain socket path, but that socket could have
been removed just before reaching here. At least the hwsim test case
concurrent_p2pcli managed to hit the "connect exception" print below
from UDP handling even when using a UNIX domain socket.
Work around incorrect determination of control interface socket type by
assuming anything starting with '/' is a UNIX domain socket and not a
hostname.
Fixes: a2c88a8025b2 ("wpaspy: Add support for UDP connection")
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'src/crypto/sha1-tlsprf.c')
0 files changed, 0 insertions, 0 deletions