barbieri pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=281ca807fe0fa63ab48132b261007717d2468926

commit 281ca807fe0fa63ab48132b261007717d2468926
Author: Gustavo Sverzut Barbieri <[email protected]>
Date:   Fri Jan 27 15:25:23 2017 -0200

    ecore_con: add missing string nul byte terminator to efl_net_ip_address.
---
 src/lib/ecore_con/efl_net_ip_address.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/ecore_con/efl_net_ip_address.c 
b/src/lib/ecore_con/efl_net_ip_address.c
index 569b18d..f5500e3 100644
--- a/src/lib/ecore_con/efl_net_ip_address.c
+++ b/src/lib/ecore_con/efl_net_ip_address.c
@@ -343,6 +343,7 @@ _efl_net_ip_address_parse(Eo *cls, void *pd EINA_UNUSED, 
const char *numeric_add
                   tmp[0] = '[';
                   memcpy(tmp + 1, numeric_address, len);
                   tmp[1 + len] = ']';
+                  tmp[1 + len + 1] = '\0';
                   address = tmp;
                }
           }

-- 


Reply via email to