eiwd

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

commit e009f6298a641217224ec4b69f066107cf7708a4
parent 6930987aa6821da0917795501e235b2cd1b0655f
Author: James Prestwood <prestwoj@gmail.com>
Date:   Mon,  8 Feb 2021 14:23:14 -0800

unit: test-sae: zero out frame buffers

Not all the authenticate frame elements are set and were assumed
to be zero. Since alloca does not memset data it needs to be
done explicitly.

Diffstat:
Munit/test-sae.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/unit/test-sae.c b/unit/test-sae.c @@ -202,6 +202,7 @@ static size_t setup_auth_frame(struct authenticate_frame *frame, uint16_t trans, uint16_t status, const uint8_t *data, size_t len) { + memset(frame, 0, sizeof(struct authenticate_frame)); memcpy(frame->hdr.address_2, addr, 6); frame->hdr.fc.type = MPDU_TYPE_MANAGEMENT;