From 42b3bc1e8ad61644c2b91ac3e13fbd376021afe1 Mon Sep 17 00:00:00 2001 From: Jaehyun Cho Date: Mon, 19 Sep 2016 19:46:27 +0900 Subject: [PATCH] edje_svg_loader: Initialize char array. Initialize char array before calling strcmp(). --- src/bin/edje/edje_svg_loader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/edje/edje_svg_loader.c b/src/bin/edje/edje_svg_loader.c index 1b23913..781f141 100644 --- a/src/bin/edje/edje_svg_loader.c +++ b/src/bin/edje/edje_svg_loader.c @@ -1734,7 +1734,7 @@ _evas_svg_loader_xml_open_parser(Evas_SVG_Loader *loader, const char *attrs = NULL; int attrs_length = 0; int sz = length; - char tag_name[20]; + char tag_name[20] = ""; Factory_Method method; Gradient_Factory_Method gradient_method; Svg_Node *node = NULL, *parent; -- 2.7.4