hostapd/src/p2p
Jouni Malinen f723f7f8ad P2P: Check dev pointer consistently when building PD Response
The dev pointer could potentially be NULL here in some P2PS cases, so
check it explicitly before dereferencing it when checking for 6 GHz
capability.

Fixes: b9e2826b9d ("P2P: Filter 6 GHz channels if peer doesn't support them")
Signed-off-by: Jouni Malinen <j@w1.fi>
2022-11-20 15:15:58 +02:00
..
Makefile build: Make more library things common 2020-10-12 20:20:35 +03:00
p2p.c P2P: Track peer 6 GHz capability more robustly 2022-11-05 12:04:09 +02:00
p2p.h P2P: Use only PSC for P2P group in the 6 GHz band 2022-09-14 23:54:20 +03:00
p2p_build.c P2P: Use weighted preferred channel list for channel selection 2022-06-02 17:09:10 +03:00
p2p_dev_disc.c P2PS: Refactor p2p_data::query_hash and p2p_data::query_count use 2015-06-15 17:30:01 +03:00
p2p_go_neg.c P2P: Track peer 6 GHz capability more robustly 2022-11-05 12:04:09 +02:00
p2p_group.c P2P: Stop listen state if Action frame TX is needed on another channel 2019-02-17 16:53:03 +02:00
p2p_i.h P2P: Track peer 6 GHz capability more robustly 2022-11-05 12:04:09 +02:00
p2p_invitation.c P2P: Filter 6 GHz channels if peer doesn't support them 2022-05-31 12:41:48 +03:00
p2p_parse.c P2P: Filter control chars in group client device name similarly to peer 2015-10-26 23:43:45 +02:00
p2p_pd.c P2P: Check dev pointer consistently when building PD Response 2022-11-20 15:15:58 +02:00
p2p_sd.c P2P: Do not use wait_time for SD Response TX for last fragmentation 2017-04-01 14:25:26 +03:00
p2p_utils.c P2P: Use weighted preferred channel list for channel selection 2022-06-02 17:09:10 +03:00