]> git.ipfire.org Git - thirdparty/hostap.git/commit
TDLS: Validate FTIE length before processing it
authorJouni Malinen <jouni.malinen@atheros.com>
Wed, 13 Apr 2011 19:14:22 +0000 (22:14 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 13 Apr 2011 19:14:22 +0000 (22:14 +0300)
commita04bf77209ea23f5a86d0d075fd1cdae3479212c
tree61a3bedec3988659e1ecf274d00e1171a13d9c23
parent62c0d27ed313be1ed0ea178ca3d059ff97cd7ba5
TDLS: Validate FTIE length before processing it

This avoids reading past the end of the IE buffer should the FTIE
be too short. In addition, one debug hexdump was using uninitialized
pointer to the FTIE buffer, so fixed it to use the pointer from the
parse data.
src/rsn_supp/tdls.c