hostapd: use strdup on string passed to hostapd_add_iface
authorFelix Fietkau <nbd@nbd.name>
Fri, 14 Jun 2024 12:17:57 +0000 (14:17 +0200)
committerRISCi_ATOM <bob@bobcall.me>
Thu, 11 Jul 2024 15:21:57 +0000 (11:21 -0400)
commit1746c3d1268f86714a5fa90258c8414109900f25
treec610988f76f29bb48a35e74c6e3d293ce1af3663
parentf10afce4dd3d233376e92b15f1d36b782fbda564
hostapd: use strdup on string passed to hostapd_add_iface

The data is modified within hostapd_add_iface

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit 032d3fcf7a861b140435b6507b2b0b66361c92f8)
Link: https://github.com/openwrt/openwrt/pull/15898
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/network/services/hostapd/src/src/ap/ucode.c