]> git.ipfire.org Git - thirdparty/hostap.git/commit
DFS: Do not allow channel checks to go beyond the channel list
authorJouni Malinen <quic_jouni@quicinc.com>
Wed, 23 Nov 2022 20:51:50 +0000 (22:51 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 23 Nov 2022 20:51:50 +0000 (22:51 +0200)
commite91ac53d53da3074337b305905f4e4aac4cd72ea
tree3fe23f211671884703779c8d5cf33a0920ce1b8f
parentf96dfdeef64c2c8c7791d79eeea48d85823a1be3
DFS: Do not allow channel checks to go beyond the channel list

Explicitly check for invalid cases where the configured channel and
bandwidth might result in the full channel number range going beyond the
list of supported channels to avoid reading beyond the end of the
channel buffer.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
src/ap/dfs.c