]> git.ipfire.org Git - thirdparty/hostap.git/commit
ERP: Avoid a static analyzer warning on uninitialized emsk_len
authorJouni Malinen <j@w1.fi>
Thu, 4 Dec 2014 22:33:31 +0000 (00:33 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 4 Dec 2014 22:33:31 +0000 (00:33 +0200)
commit56b352ec58c9fdcf01c9d3fb94953bc0bd5850ce
tree8f545aa22880ae93df7e1baaa14b2336c19bf969
parentebdfdf1b9c87366725a336992359a1be0ef26b11
ERP: Avoid a static analyzer warning on uninitialized emsk_len

This was not really a real issue since bin_clear_free() would not use
the emsk_len argument when emsk is NULL as it would be on the path where
emsk_len has not been initilized. Anyway, it is better to get rid of the
warning.

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