copy the device name with correct buffer size 13/174413/3 accepted/tizen/unified/20180406.062051 submit/tizen/20180403.231154
authorMilind Murhekar <m.murhekar@samsung.com>
Mon, 2 Apr 2018 05:16:39 +0000 (10:46 +0530)
committerMilind Murhekar <m.murhekar@samsung.com>
Mon, 2 Apr 2018 06:13:36 +0000 (11:43 +0530)
commitaf43da770d03527069772192631e9781ee3016e0
tree8793570c8d3a89fbe527efc55d1df27f9a98f91b
parenta8ecf0d6dd01411ecaa44ade3fa63fdddfb0ce04
copy the device name with correct buffer size

Description: This patch corrects the copying
of device/peer name using destination size, as
g_strlcpy handles the null terminations internally.

Change-Id: I89b4149bf518a02478818071d9beeccb63b324e7
Signed-off-by: Milind Murhekar <m.murhekar@samsung.com>
packaging/wifi-direct-manager.spec
plugin/wpasupplicant/ctrl_iface_dbus/wfd-plugin-wpasupplicant.c