eiwd

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

commit 60366346fb37dce59007fafe4b359df25e27d1e8
parent 1825fd7ab7ece6efa8131296a34336dc775e0728
Author: Denis Kenzior <denkenz@gmail.com>
Date:   Wed, 22 Dec 2021 21:32:18 -0600

handshake: Do not leak vendor_ies

Direct leak of 7 byte(s) in 1 object(s) allocated from:
    #0 0x7fd748ad00f8 in __interceptor_malloc (/usr/lib/gcc/x86_64-pc-linux-gnu/9.4.0/libasan.so.5+0x10c0f8)
    #1 0x688c21 in l_malloc ell/util.c:62
    #2 0x4beec7 in handshake_state_set_vendor_ies src/handshake.c:324
    #3 0x464e4e in station_handshake_setup src/station.c:1203
    #4 0x472a2f in __station_connect_network src/station.c:2975
    #5 0x473a30 in station_connect_network src/station.c:3078
    #6 0x4ed728 in network_connect_8021x src/network.c:1497

Fixes: f24cfa481b0c ("handshake: Add setter for vendor IEs")

Diffstat:
Msrc/handshake.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/handshake.c b/src/handshake.c @@ -115,6 +115,7 @@ void handshake_state_free(struct handshake_state *s) l_free(s->fte); l_free(s->fils_ip_req_ie); l_free(s->fils_ip_resp_ie); + l_free(s->vendor_ies); if (s->erp_cache) erp_cache_put(s->erp_cache);