ecore_con: add '\0' termination to path.
authorPrateek Thakur <prateek.th@samsung.com>
Fri, 19 Aug 2016 23:12:41 +0000 (16:12 -0700)
committerCedric BAIL <cedric@osg.samsung.com>
Mon, 22 Aug 2016 18:04:13 +0000 (11:04 -0700)
commit9348a84aa0200c634dfea0aecf2f4db1672aefa2
tree1bf146b568d0dfaa7c530015c9123d285cd36959
parentd8cab9347af00e791e168d3e47d0988582d1d097
ecore_con: add '\0' termination to path.

Summary:
Copying from string 'buf' of length 4095 to '&socket_unix.sun_path[0]'
may form a non-terminated C string of size 108. So added null termination.

Signed-off-by: Prateek Thakur <prateek.th@samsung.com>
Reviewers: cedric, thiepha

Subscribers: jpeg

Differential Revision: https://phab.enlightenment.org/D4247

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/lib/ecore_con/ecore_con_local.c