]> git.ipfire.org Git - thirdparty/hostap.git/commit
hostapd: Fix multi-BSS configuration file parsing regression
authorJouni Malinen <j@w1.fi>
Sun, 3 Nov 2013 18:01:50 +0000 (20:01 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 3 Nov 2013 18:01:50 +0000 (20:01 +0200)
commit2fe210cebbb589179129af8bf7d0deed73789658
tree8e71b7f98c928b34d782ef21c2be9e92870b4987
parente4ba031531964df002312d4ad8674b6d03731e0f
hostapd: Fix multi-BSS configuration file parsing regression

Commit ebd79f07c47b02b71c0ac7744a6a94a2bae92fcf broke parsing of
configuration files that use the bss parameter to specify another BSS
entry. This resulted in crashing the process with NULL pointer
dereference since the new hostapd_config::bss design requires this
function to allocate a new hostapd_bss_config structure.

Signed-hostap: Jouni Malinen <j@w1.fi>
hostapd/config_file.c