diff options
author | David Bauer <mail@david-bauer.net> | 2021-10-21 17:09:28 +0200 |
---|---|---|
committer | David Bauer <mail@david-bauer.net> | 2021-10-21 17:09:35 +0200 |
commit | 9b880f09f394049e0629e3c9d4061f431a6b19a8 (patch) | |
tree | b6766e6254d3f1f581c8c3943b59bdb144c05932 /package/network/services/hostapd | |
parent | f85c970c9c91efd74ca11491d28e1f5f24c5bffc (diff) | |
download | upstream-9b880f09f394049e0629e3c9d4061f431a6b19a8.tar.gz upstream-9b880f09f394049e0629e3c9d4061f431a6b19a8.tar.bz2 upstream-9b880f09f394049e0629e3c9d4061f431a6b19a8.zip |
hostapd: ubus: fix uninitialized pointer
This fixes passing a bogus non-null pointer to the ubus handler in case
the transition request is rejected.
Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'package/network/services/hostapd')
-rw-r--r-- | package/network/services/hostapd/patches/600-ubus_support.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/services/hostapd/patches/600-ubus_support.patch b/package/network/services/hostapd/patches/600-ubus_support.patch index 7bb998dbb8..ccf66be6b8 100644 --- a/package/network/services/hostapd/patches/600-ubus_support.patch +++ b/package/network/services/hostapd/patches/600-ubus_support.patch @@ -520,7 +520,7 @@ { u8 dialog_token, status_code, bss_termination_delay; - const u8 *pos, *end; -+ const u8 *pos, *end, *target_bssid; ++ const u8 *pos, *end, *target_bssid = NULL; int enabled = hapd->conf->bss_transition; struct sta_info *sta; |