]> git.ipfire.org Git - thirdparty/hostap.git/commit
dbus: Make sure ServiceDiscoveryRequest/Result does not override pointers
authorJouni Malinen <j@w1.fi>
Thu, 11 Jul 2024 15:35:28 +0000 (18:35 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 11 Jul 2024 15:47:12 +0000 (18:47 +0300)
commit9f0429c9e1a7698f6dac4a0ead01870ef607e1b2
tree19f6abbe069a919b19231535dd8d94af407d6260
parentd22401d8955911f62d1fc07f3803b765961b4b7c
dbus: Make sure ServiceDiscoveryRequest/Result does not override pointers

Explicitly free the previously allocated copy if ServiceDiscoveryRequest
or Service DiscvoveryResponse parsing loop finds multiple instances of
the same dict entry.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/dbus/dbus_new_handlers_p2p.c