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)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 8 Jul 2024 19:13:25 +0000 (21:13 +0200)
commit80a36594f9623dc471c6d866d3e688da39c143be
treea9b7c6cdd183a61671434eeae24e5959f1ee5257
parentaa27bd70870d8c0992314ab26fc31c5bf7460aa4
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