diff options
author | Tatsuya Kinoshita <tats@debian.org> | 2016-08-19 10:05:25 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2016-08-19 10:05:25 +0000 |
commit | 0fba2f1a6eb6861206ad120a02af2643938082cd (patch) | |
tree | 35b9ced6fdbe6c34520d2161f3d6ea5b036d85e4 /parsetagx.c | |
parent | Update ChangeLog (diff) | |
download | w3m-0fba2f1a6eb6861206ad120a02af2643938082cd.tar.gz w3m-0fba2f1a6eb6861206ad120a02af2643938082cd.zip |
Fix uninitialised values for <i> and <dd>
Bug-Debian: https://github.com/tats/w3m/issues/16
Diffstat (limited to 'parsetagx.c')
-rw-r--r-- | parsetagx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/parsetagx.c b/parsetagx.c index 3435f9f..cd1ff58 100644 --- a/parsetagx.c +++ b/parsetagx.c @@ -126,6 +126,7 @@ parse_tag(char **s, int internal) *(p++) = *(q++); SKIP_BLANKS(q); } + tagname[0] = '\0'; while (*q && !IS_SPACE(*q) && !(tagname[0] != '/' && *q == '/') && *q != '>' && p - tagname < MAX_TAG_LEN - 1) { *(p++) = TOLOWER(*q); |