forked from enlightenment/efl
eina: uninitialization of array leads to unwanted outcome of "eina_strlcat"
Reviewers: raster, cedric, rajeshps Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5297 Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
This commit is contained in:
parent
c60b889d35
commit
3935607483
|
@ -63,7 +63,7 @@ _xml_tag_cb(void *data, Eina_Simple_XML_Type type, const char *content,
|
|||
{
|
||||
char buffer[length+1];
|
||||
Eina_Array *array = data;
|
||||
char str[512];
|
||||
char str[512] = {'\0'};
|
||||
|
||||
if (type == EINA_SIMPLE_XML_OPEN)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue