From 33509cc81ec5f2ba44eb6fd98bd5c1b5873e46bd Mon Sep 17 00:00:00 2001 From: Tatsuya Kinoshita Date: Sat, 20 Aug 2016 07:12:41 +0900 Subject: Fix uninitialised values for and
Bug-Debian: https://github.com/tats/w3m/issues/16 --- parsetagx.c | 1 + 1 file changed, 1 insertion(+) (limited to 'parsetagx.c') diff --git a/parsetagx.c b/parsetagx.c index 3435f9f..1cc7048 100644 --- a/parsetagx.c +++ b/parsetagx.c @@ -120,6 +120,7 @@ parse_tag(char **s, int internal) int i, attr_id = 0, nattr; /* Parse tag name */ + tagname[0] = '\0'; q = (*s) + 1; p = tagname; if (*q == '/') { -- cgit v1.2.3