hostapd/src/p2p
Jouni Malinen 7a37a94eaa Check whether element parsing has failed
Check the ieee802_11_parse_elems() return code and do not proceed in
various cases if parsing failed. Previously, these cases would have been
allowed to continue by ignoring whatever might have followed in the IE
buffer after the first detected parsing failure. This is not really an
issue in practice, but it feels cleaner to explicitly stop when
receiving an invalid set of IEs.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
2023-07-18 16:05:17 +03:00
..
Makefile build: Make more library things common 2020-10-12 20:20:35 +03:00
p2p.c P2P: Make invitation flow less aggressive 2023-02-21 11:19:15 +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: Filter out 6 GHz frequencies if not allowed for P2P connection 2023-02-23 13:20:50 +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: Make invitation flow less aggressive 2023-02-21 11:19:15 +02:00
p2p_parse.c Check whether element parsing has failed 2023-07-18 16:05:17 +03: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