dbus: Use snprintf() and bounds checking instead of strcat()
authorJouni Malinen <jouni.malinen@atheros.com>
Tue, 10 Nov 2009 16:29:38 +0000 (18:29 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 10 Nov 2009 16:29:38 +0000 (18:29 +0200)
commit68e7cb49b404392a8bc838ec63bb0fa32a1e48f3
treef4bd16aac6ee3a5d1a05bd86d64ddd675ea7412b
parentd69780dcbb049ff00e5a33e974ab7e2025e5a571
dbus: Use snprintf() and bounds checking instead of strcat()

Better make sure we do not end up writing over the end of the local
registered_sig buffer regardless of how many arguments are used in
dbus method description.
wpa_supplicant/ctrl_iface_dbus_new_helpers.c