mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 09:39:25 +01:00
bfd8cead95
Besides being undefined behaviour, signed integer overflow can cause unexpected comparison results. In the case of network_rank_compare(), a connected network with rank INT_MAX would cause newly inserted networks with negative rank to be inserted earlier in the ordered network list. This is reflected in the GetOrderedMethods() DBus method as can be seen in the following iwctl output: [iwd]# station wlan0 get-networks Network name Security Signal ---------------------------------------------------- BEOLAN 8021x **** } BeoBlue psk *** } all unknown, UI_Test_Network psk *** } hence assigned deneb_2G psk *** } negative rank BEOGUEST open **** } > titan psk **** Linksys05274_5GHz_dmt psk **** Lyngby-4G-4 5GHz psk **** |
||
---|---|---|
.. | ||
hw.conf | ||
hwsim-dbus.conf | ||
hwsim.c | ||
hwsim.rst | ||
ios_convert.py | ||
probe-req.c | ||
run-iwd.sh | ||
test_runner_kernel_config | ||
test-runner.c |