Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
htsmsg_xml: fix uninitialized variable access
  • Loading branch information
perexg committed Dec 1, 2014
1 parent 6b152b9 commit f63d16f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/htsmsg_xml.c
Expand Up @@ -829,7 +829,7 @@ htsmsg_xml_deserialize(char *src, char *errbuf, size_t errbufsize)
char *src0 = src;
int i;

xp.xp_errmsg[0] = 0;
memset(&xp, 0, sizeof(xp));
xp.xp_encoding = XML_ENCODING_UTF8;
LIST_INIT(&xp.xp_namespaces);

Expand Down

0 comments on commit f63d16f

Please sign in to comment.