3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2025-02-22 05:10:40 +01:00
James Prestwood 11914431bc netdev: zero out diagnostic info
The info struct is on the stack which leads to the potential
for uninitialized data access. Zero out the info struct prior
to calling the get station callback:

==141137== Conditional jump or move depends on uninitialised value(s)
==141137==    at 0x458A6F: diagnostic_info_to_dict (diagnostic.c:109)
==141137==    by 0x41200B: station_get_diagnostic_cb (station.c:3620)
==141137==    by 0x405BE1: netdev_get_station_cb (netdev.c:4783)
==141137==    by 0x4722F9: process_unicast (genl.c:994)
==141137==    by 0x4722F9: received_data (genl.c:1102)
==141137==    by 0x46F28B: io_callback (io.c:120)
==141137==    by 0x46E5AC: l_main_iterate (main.c:478)
==141137==    by 0x46E65B: l_main_run (main.c:525)
==141137==    by 0x46E65B: l_main_run (main.c:507)
==141137==    by 0x46E86B: l_main_run_with_signal (main.c:647)
==141137==    by 0x403EA8: main (main.c:490)
2021-04-28 11:24:13 -05:00
..
2021-02-08 15:16:39 -06:00
2020-07-09 09:58:21 -05:00
2020-07-09 09:58:21 -05:00
2021-03-12 13:49:23 -06:00
2021-03-11 21:46:49 -06:00
2020-08-13 13:43:31 -05:00
2019-12-09 01:47:11 -06:00
2021-04-20 09:37:48 -05:00
2021-04-20 09:37:48 -05:00
2021-03-12 13:49:23 -06:00
2021-02-08 15:56:30 -06:00
2021-03-10 12:03:49 -06:00
2021-04-09 11:32:21 -05:00
2021-04-09 11:32:21 -05:00
2021-03-12 13:49:23 -06:00
2019-05-19 13:07:13 -05:00
2021-03-11 22:34:26 -06:00
2021-04-16 11:13:46 -05:00
2017-11-28 13:20:33 -06:00
2021-03-12 13:49:23 -06:00
2021-04-20 09:37:48 -05:00
2021-03-10 12:05:43 -06:00
2020-02-03 11:54:28 -06:00
2021-04-28 11:24:13 -05:00
2019-07-15 14:06:26 -05:00
2020-09-16 14:31:07 -05:00
2020-04-10 06:31:19 -05:00
2020-09-14 11:39:25 -05:00
2020-09-14 11:39:25 -05:00
2021-04-23 09:51:46 -05:00
2021-04-05 17:47:42 -05:00
2020-03-17 15:35:22 -05:00
2021-03-15 13:14:16 -05:00
2021-03-15 13:14:16 -05:00
2021-03-12 13:49:23 -06:00
2021-03-12 13:49:23 -06:00
2020-01-17 12:50:23 -06:00