mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-05-05 09:56:12 +02:00
hostapd: fix potential double free in ubus code
Ensure that the object name is never freed twice Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
14b686247a
commit
6e1d4afa86
@ -1788,6 +1788,7 @@ void hostapd_ubus_free_bss(struct hostapd_data *hapd)
|
||||
}
|
||||
|
||||
free(name);
|
||||
obj->name = NULL;
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user