3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2025-03-04 15:20:39 +01:00
James Prestwood 5661e886d8 eap-wsc: fix valgrind warning
Valgrind does not like uninitialized bytes used in a syscall. In this
case the buffer is an out buffer but since valgrind doesn't know that
it complains. Initializing to zero fixes the warning:

Syscall param socketcall.sendto(msg) points to uninitialised byte(s)
    at 0x5162C4D: send (send.c:28)
    by 0x457AF4: l_checksum_update (checksum.c:319)
    by 0x43C03C: eap_wsc_handle_m2 (eap-wsc.c:842)
    by 0x43CD33: eap_wsc_handle_request (eap-wsc.c:1048)
    by 0x43A3A7: __eap_handle_request.part.0 (eap.c:266)
    by 0x41A426: eapol_rx_packet.part.12 (eapol.c:2262)
    by 0x41B536: __eapol_rx_packet (eapol.c:2650)
    by 0x407C80: netdev_control_port_frame_event (netdev.c:3542)
    by 0x407C80: netdev_unicast_notify (netdev.c:3684)
    by 0x4598C5: dispatch_unicast_watches (genl.c:899)
    by 0x4598C5: process_unicast (genl.c:918)
    by 0x4598C5: received_data (genl.c:1039)
    by 0x456452: io_callback (io.c:126)
    by 0x45569D: l_main_iterate (main.c:473)
    by 0x45576B: l_main_run (main.c:520)
  Address 0x1ffeffe290 is on thread 1's stack
in frame #2, created by eap_wsc_handle_m2 (eap-wsc.c:797)
2019-08-27 20:58:01 -05:00
..
2018-04-19 11:49:41 -05:00
2018-04-19 11:49:41 -05:00
2019-07-15 14:53:44 -05:00
2019-07-15 14:53:44 -05:00
2019-06-07 16:15:07 -05:00
2019-06-07 14:22:33 -05:00
2019-04-22 16:31:14 -05:00
2019-04-22 16:31:19 -05:00
2019-08-27 20:58:01 -05:00
2019-08-15 19:39:27 +02:00
2019-04-10 16:57:07 -05:00
2019-08-27 20:50:07 -05:00
2019-08-27 20:50:07 -05:00
2019-05-19 13:07:13 -05:00
2019-05-19 13:07:13 -05:00
2019-05-23 16:59:14 -05:00
2019-05-23 16:59:34 -05:00
2019-05-09 13:38:34 -05:00
2017-11-28 13:20:33 -06:00
2019-08-21 12:29:22 -05:00
2019-04-05 12:07:37 -05:00
2019-08-21 14:16:08 -05:00
2019-07-15 14:06:26 -05:00
2019-05-23 16:58:59 -05:00
2017-11-28 13:30:06 -06:00
2019-08-07 11:13:10 -05:00
2019-07-02 19:09:57 -05:00
2019-05-24 11:52:40 -05:00
2019-07-31 12:39:41 -05:00
2019-08-21 17:34:43 -05:00
2019-05-22 10:20:08 -05:00
2018-07-17 19:12:48 -05:00
2019-08-19 13:58:18 -05:00
2019-08-21 14:16:08 -05:00
2019-08-21 14:16:08 -05:00
2019-08-21 14:16:08 -05:00
2019-08-21 17:24:16 -05:00
2019-08-02 02:23:05 -05:00
2019-07-08 13:46:53 -05:00
2019-07-08 13:46:53 -05:00