forked from enlightenment/efl
ecore_con: add missing string nul byte terminator to efl_net_ip_address.
This commit is contained in:
parent
f84e7ddc70
commit
281ca807fe
|
@ -343,6 +343,7 @@ _efl_net_ip_address_parse(Eo *cls, void *pd EINA_UNUSED, const char *numeric_add
|
||||||
tmp[0] = '[';
|
tmp[0] = '[';
|
||||||
memcpy(tmp + 1, numeric_address, len);
|
memcpy(tmp + 1, numeric_address, len);
|
||||||
tmp[1 + len] = ']';
|
tmp[1 + len] = ']';
|
||||||
|
tmp[1 + len + 1] = '\0';
|
||||||
address = tmp;
|
address = tmp;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue