3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 14:49:24 +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
..
ad-hoc.c client: fix ad-hoc start_open DBus method name 2020-04-06 17:17:19 -05:00
adapter.c client: Use include path from top source directory 2019-12-13 09:02:42 +01:00
agent-manager.c client: Rework agent registarion logic 2020-02-27 16:30:11 -06:00
agent-manager.h client: Rework agent registarion logic 2020-02-27 16:30:11 -06:00
agent.c client: Reset prompt on agent exit 2020-08-20 09:52:46 -05:00
agent.h treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
ap.c client: add AP scanning support to iwctl 2022-02-28 13:32:24 -06:00
command.c client: Use include path from top source directory 2019-12-13 09:02:42 +01:00
command.h build: treewide: Set retain attribute 2021-11-11 14:27:33 -06:00
daemon.c client: add a few return checks 2022-03-18 11:31:48 -05:00
daemon.h client: Print daemon information at startup 2021-10-25 17:24:51 -05:00
dbus-proxy.c client: fix crash from unknown properties 2022-06-28 17:49:16 -05:00
dbus-proxy.h client: add DPP interface 2021-12-20 18:13:44 -06:00
device.c client: Use include path from top source directory 2019-12-13 09:02:42 +01:00
device.h treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
diagnostic.c client: add Security key to diagnostics 2021-03-29 13:18:17 -05:00
diagnostic.h client: Update copyrights 2021-01-25 10:46:07 -06:00
display.c client: remove warning on mkdir return 2021-02-09 14:49:17 -06:00
display.h client: fix colors to make grey really grey 2022-03-16 09:56:08 -05:00
dpp.c client: add DPP client commands 2021-12-20 18:13:44 -06:00
iwctl.rst manpage: Add command options and examples for iwctl 2019-10-29 15:07:09 -05:00
known-networks.c client: Use include path from top source directory 2019-12-13 09:02:42 +01:00
main.c client: Set EXIT_FAILURE on SIGTERM/SIGINT 2020-08-18 21:09:30 -05:00
network.c client: Use include path from top source directory 2019-12-13 09:02:42 +01:00
network.h treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
properties.c client: Use include path from top source directory 2019-12-13 09:02:42 +01:00
properties.h client: Make variables extern 2020-01-27 09:47:40 -06:00
station.c client: Don't try to print addresses if not connected 2021-10-26 14:34:00 -05:00
wsc.c client: Use include path from top source directory 2019-12-13 09:02:42 +01:00