eiwd

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

commit 451a7e9b527c7dd9b47d03e3baf2b778ace6046c
parent 8dfb8e9207ea8fdfa381493d4ba19776d66f58a4
Author: Andrew Zaborowski <andrew.zaborowski@intel.com>
Date:   Fri,  8 Feb 2019 18:32:11 +0100

eap-ttls: Check Phase 2 method name is not NULL

Diffstat:
Msrc/eap-ttls.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/eap-ttls.c b/src/eap-ttls.c @@ -1040,6 +1040,10 @@ static int eap_ttls_settings_check(struct l_settings *settings, prefix); phase2_method_name = l_settings_get_value(settings, "Security", setting_key); + if (!phase2_method_name) { + l_error("Setting %s is missing", setting_key); + return -ENOENT; + } snprintf(setting_prefix, sizeof(setting_prefix), "%sTTLS-Phase2-", prefix);