]> git.ipfire.org Git - thirdparty/hostap.git/commit
EAP-pwd peer: Fix asymmetric fragmentation behavior
authorJouni Malinen <j@w1.fi>
Sat, 2 May 2015 16:26:28 +0000 (19:26 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 3 May 2015 15:26:50 +0000 (18:26 +0300)
commit28a069a545b06b99eb55ad53f63f2c99e65a98f6
tree960a89cac0e7b2341e589fd14ac3fa76a5c568cf
parent3035cc2894e08319b905bd6561e8bddc8c2db9fa
EAP-pwd peer: Fix asymmetric fragmentation behavior

The L (Length) and M (More) flags needs to be cleared before deciding
whether the locally generated response requires fragmentation. This
fixes an issue where these flags from the server could have been invalid
for the following message. In some cases, this could have resulted in
triggering the wpabuf security check that would terminate the process
due to invalid buffer allocation.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/eap_peer/eap_pwd.c