eiwd

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

commit 96aa65837514662224c0f556bd4ffb2093a92976
parent ba7f7febd14a5614b06caf4a3f0ee5d3f82fdd1f
Author: James Prestwood <prestwoj@gmail.com>
Date:   Wed, 16 Oct 2019 15:29:53 -0700

sae: check return getting k_point

Diffstat:
Msrc/sae.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/sae.c b/src/sae.c @@ -498,6 +498,9 @@ static int sae_process_commit(struct sae_sm *sm, const uint8_t *from, l_ecc_point_free(k_point); + if (klen < 0) + goto reject; + /* keyseed = H(<0>32, k) */ hmac_sha256(zero_key, 32, k, klen, keyseed, 32);