]> git.ipfire.org Git - thirdparty/hostap.git/commit
Fix language string length validation in parse_lang_string()
authorJouni Malinen <jouni@qca.qualcomm.com>
Wed, 25 Sep 2013 09:53:00 +0000 (12:53 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 25 Sep 2013 11:42:39 +0000 (14:42 +0300)
commit04e533e24944afa9d3bbaf86b2223e184198d603
tree66bc6037aed31b927245e19e099311553724284a
parent742e715b31e11576706130c90514c701d49abc8d
Fix language string length validation in parse_lang_string()

The language string length needs to be validated to hit into the
three-octet lang field in struct hostapd_lang_string before copying
this. Invalid configuration entries in hostapd.conf could have resulted
in buffer overflow.

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