eiwd

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

commit eeab42af0339989c60cda325059fa412d1411a2a
parent ce9188ee354fd9e994160b8f704214773567a8e6
Author: James Prestwood <prestwoj@gmail.com>
Date:   Wed, 22 Dec 2021 15:00:17 -0800

dpp: init unwrapped pointer to NULL

Fixes possible issues with auto-free on error paths

Diffstat:
Msrc/dpp.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/dpp.c b/src/dpp.c @@ -780,7 +780,7 @@ static void dpp_handle_config_result_frame(struct dpp_sm *dpp, const void *e_nonce = NULL; const void *wrapped = NULL; size_t wrapped_len; - _auto_(l_free) void *unwrapped; + _auto_(l_free) void *unwrapped = NULL; if (dpp->state != DPP_STATE_CONFIGURING) return;