]> git.ipfire.org Git - thirdparty/hostap.git/commit
Fix sched_scan filter setting for max_match_sets == 0
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 25 Nov 2011 16:12:04 +0000 (18:12 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 25 Nov 2011 16:12:04 +0000 (18:12 +0200)
commitfcd168478749251350d3d117eefa57dc3d5553ae
tree10cc2103b785356ed9dacecb2350037bc11c88e4
parentfb67eec6f8280ecfaed88938389d352fddaf3494
Fix sched_scan filter setting for max_match_sets == 0

The previous implementation was trying to add the first SSID
to a zero-length array. Avoid this with an explicit validation
of the array length.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/scan.c