aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/events.c
diff options
context:
space:
mode:
authorJoel Cunningham <joel.cunningham@me.com>2016-10-08 17:04:15 (GMT)
committerJouni Malinen <j@w1.fi>2016-10-15 15:58:27 (GMT)
commit33111c910bf8c138f3be1cef99b318e26fb28a04 (patch)
treed17ec2c9263da6ca9ce091c7cad33884946bf387 /wpa_supplicant/events.c
parent74b23fafe9c951ed45914263a760f902eee1d0bc (diff)
downloadhostap-33111c910bf8c138f3be1cef99b318e26fb28a04.zip
hostap-33111c910bf8c138f3be1cef99b318e26fb28a04.tar.gz
hostap-33111c910bf8c138f3be1cef99b318e26fb28a04.tar.bz2
Check for NULL qsort() base pointers
There are a couple of places in wpa_supplicant/hostapd where qsort() can be called with a NULL base pointer. This results in undefined behavior according to the C standard and with some standard C libraries (ARM RVCT 2.2) results in a data abort/memory exception. Fix this by skipping such calls since there is nothing needing to be sorted. Signed-off-by: Joel Cunningham <joel.cunningham@me.com>
Diffstat (limited to 'wpa_supplicant/events.c')
0 files changed, 0 insertions, 0 deletions