eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 8364807938b466fee9a4e5291784b4dd2c71cee1
parent e31074b24659c3793081200003e92ab28b9f0204
Author: James Prestwood <prestwoj@gmail.com>
Date:   Wed, 16 Oct 2019 15:29:46 -0700

eap-pwd: fix potential memory leak

Diffstat:
Msrc/eap-pwd.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/eap-pwd.c b/src/eap-pwd.c @@ -115,8 +115,10 @@ static bool kdf(uint8_t *key, size_t key_len, const char *label, iov[iov_pos].iov_base = &L; iov[iov_pos++].iov_len = 2; - if (!l_checksum_updatev(hmac, iov, iov_pos)) + if (!l_checksum_updatev(hmac, iov, iov_pos)) { + l_checksum_free(hmac); return false; + } l_checksum_get_digest(hmac, out + len, minsize(olen - len, 32)); l_checksum_free(hmac);