]> git.ipfire.org Git - thirdparty/hostap.git/commit
EAP-pwd: Fix memory leak on error path with fragmentation
authorJouni Malinen <j@w1.fi>
Sat, 5 Apr 2014 21:19:26 +0000 (00:19 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 5 Apr 2014 21:34:30 +0000 (00:34 +0300)
commit48f668eecfb38a62743e22e0508b6a73cc102b29
tree9f5e7a712bb1dd34c4f5d405a79b8dfc98740f89
parent4fc412ae76ec5e51f8843e06cbcdac650b326db8
EAP-pwd: Fix memory leak on error path with fragmentation

If fragmentation is used, the temporary inbuf/outbuf could have been
leaked in error cases (e.g., reaching maximum number of roundtrips).

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