Hi James,
On 2/8/21 2:19 PM, James Prestwood wrote:
---
src/adhoc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/adhoc.c b/src/adhoc.c
index 7f9ce765..1263d00a 100644
--- a/src/adhoc.c
+++ b/src/adhoc.c
@@ -228,6 +228,8 @@ static void adhoc_handshake_event(struct handshake_state *hs,
default:
break;
}
+
+ va_end(args);
I don't think this is correct since there are multiple returns from this
function. Perhaps the va_start should be moved to the error cases where it is used.
}
static struct eapol_sm *adhoc_new_sm(struct sta_state *sta, bool authenticator,
Regards,
-Denis