projects
/
openwrt
/
staging
/
blocktrron.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14b6862
)
hostapd: fix potential double free in ubus code
author
Felix Fietkau
<
[email protected]
>
Sat, 28 Jun 2025 19:20:44 +0000
(21:20 +0200)
committer
Felix Fietkau
<
[email protected]
>
Sat, 5 Jul 2025 12:41:00 +0000
(14:41 +0200)
Ensure that the object name is never freed twice
Signed-off-by: Felix Fietkau <
[email protected]
>
package/network/services/hostapd/src/src/ap/ubus.c
patch
|
blob
|
history
diff --git
a/package/network/services/hostapd/src/src/ap/ubus.c
b/package/network/services/hostapd/src/src/ap/ubus.c
index fab5f31282ae478f4b786f3a4652f860e6905753..a1420619a3c19a00783fece67a614a0f4a7d1bcc 100644
(file)
--- a/
package/network/services/hostapd/src/src/ap/ubus.c
+++ b/
package/network/services/hostapd/src/src/ap/ubus.c
@@
-1788,6
+1788,7
@@
void hostapd_ubus_free_bss(struct hostapd_data *hapd)
}
free(name);
+ obj->name = NULL;
}
static void