3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2025-03-03 22:40:39 +01:00
iwd/client
James Prestwood e0613311c2 client: fix crash from unknown properties
The dbus proxy code assumes that every interface has a set of
properties registered in a 'proxy_interface_property' structure,
assuming the interface has any properties at all. If the interface
is assumed to have no properties (and no property table) but
actually does, the property table lookup fails but is assumed to
have succeeded and causes a crash.

This caused iwctl to crash after some properties were added to DPP
since the DPP interface previously had no properties.

Now, check that the property table was valid before accessing it. This
should allow properties to be added to new interfaces without crashing
older versions of iwctl.
2022-06-28 17:49:16 -05:00
..
2020-08-20 09:52:46 -05:00
2022-02-28 13:32:24 -06:00
2022-03-18 11:31:48 -05:00
2021-12-20 18:13:44 -06:00
2021-01-25 10:46:07 -06:00
2021-12-20 18:13:44 -06:00
2020-01-27 09:47:40 -06:00