Fixed memory corrurption issue in wfd_client_process_request() 74/56274/1
authorNishant Chaprana <n.chaprana@samsung.com>
Wed, 6 Jan 2016 03:04:57 +0000 (08:34 +0530)
committerNishant Chaprana <n.chaprana@samsung.com>
Wed, 6 Jan 2016 03:04:57 +0000 (08:34 +0530)
commit53cda043de9884a7d7f2bf070ad0d73dbdfe6e59
tree5735bfe00486ae128d593c79d89ebd93e2bdc34f
parente2c567b80215bfdee5c85a2283b9498663b34441
Fixed memory corrurption issue in wfd_client_process_request()

Using g_io_channel_unix_get_fd() to get socket fd instead of
using user data passed in wfd_client_process_request() funtion
becasue user_data was a local variable and
chances memory corruption was there.

Change-Id: I3d3fb5045642d74e1d1f746dbd0241473d52792f
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
packaging/wifi-direct-manager.spec
src/wifi-direct-client.c