]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Fix wpabuf reuse on p2p_group_notif_noa()
authorJanusz Dziedzic <janusz.dziedzic@tieto.com>
Wed, 12 Oct 2011 22:06:11 +0000 (01:06 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 12 Oct 2011 22:06:11 +0000 (01:06 +0300)
commitf1afcb391e4e514a2dcdb5167f7acdfb13b07db1
treeb9e583a76fc4ccc5ea1e469fdcfbd614b1258444
parenta7fd39bb5d422d7bd3135ad965e97d2c1991e3ff
P2P: Fix wpabuf reuse on p2p_group_notif_noa()

This currently unused function would have triggered wpabuf overflows
due to incorrect variable being reset to zero in the case the old
NoA wpabuf was large enough for the new data.
src/p2p/p2p_group.c