mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 09:39:25 +01:00
e0613311c2
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. |
||
---|---|---|
.. | ||
ad-hoc.c | ||
adapter.c | ||
agent-manager.c | ||
agent-manager.h | ||
agent.c | ||
agent.h | ||
ap.c | ||
command.c | ||
command.h | ||
daemon.c | ||
daemon.h | ||
dbus-proxy.c | ||
dbus-proxy.h | ||
device.c | ||
device.h | ||
diagnostic.c | ||
diagnostic.h | ||
display.c | ||
display.h | ||
dpp.c | ||
iwctl.rst | ||
known-networks.c | ||
main.c | ||
network.c | ||
network.h | ||
properties.c | ||
properties.h | ||
station.c | ||
wsc.c |