EAP-pwd peer: Make sure in_frag_pos is cleared to zero on allocation
authorJouni Malinen <j@w1.fi>
Sun, 3 May 2015 07:38:20 +0000 (10:38 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 3 May 2015 15:26:50 +0000 (18:26 +0300)
commit6aa5d95dabe8a4cfd38d3cb661e0fde1c4f0e8e3
tree9d3e55217fa9783ff215462bbe937fd81458fc66
parent28a069a545b06b99eb55ad53f63f2c99e65a98f6
EAP-pwd peer: Make sure in_frag_pos is cleared to zero on allocation

The cleanup code will handle this, but it is more robust to make sure
this is cleared to zero when allocating a new buffer.

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