ecore_con_local: Add NULL termination 27/82727/3
authorPrateek Thakur <prateek.th@samsung.com>
Fri, 5 Aug 2016 09:08:13 +0000 (14:38 +0530)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Sun, 21 Aug 2016 23:31:12 +0000 (16:31 -0700)
commit171a558b1b7699dc5bcfbaff6de552dbc01668ae
treef29208a5554e625a3147378845010ff60a620165
parentb96c0ab1bd63ed42f4f95fa1b180a010666145c9
ecore_con_local: Add NULL termination

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.

Change-Id: Icdd2cd4eaf213852196cf551ee7d3ef5a252f8ee
Signed-off-by: Prateek Thakur <prateek.th@samsung.com>
src/lib/ecore_con/ecore_con_local.c [changed mode: 0644->0755]