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:
Prince Kumar Dubey 2017-10-13 12:03:52 -07:00 committed by Cedric Bail
parent c60b889d35
commit 3935607483
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{