summaryrefslogtreecommitdiff
path: root/src/lib/ecore_con
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2017-01-27 15:25:23 -0200
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2017-01-27 17:26:05 -0200
commit281ca807fe0fa63ab48132b261007717d2468926 (patch)
treef51f4a9c90c473392765ebb1e48cce40b15318a2 /src/lib/ecore_con
parentf84e7ddc7049fedd472b7b32b16e9beed583db87 (diff)
ecore_con: add missing string nul byte terminator to efl_net_ip_address.
Diffstat (limited to 'src/lib/ecore_con')
-rw-r--r--src/lib/ecore_con/efl_net_ip_address.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ecore_con/efl_net_ip_address.c b/src/lib/ecore_con/efl_net_ip_address.c
index 569b18d13e..f5500e3dcd 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
343 tmp[0] = '['; 343 tmp[0] = '[';
344 memcpy(tmp + 1, numeric_address, len); 344 memcpy(tmp + 1, numeric_address, len);
345 tmp[1 + len] = ']'; 345 tmp[1 + len] = ']';
346 tmp[1 + len + 1] = '\0';
346 address = tmp; 347 address = tmp;
347 } 348 }
348 } 349 }