Fix uninitialised values for <i> and <dd>
Bug-Debian: https://github.com/tats/w3m/issues/16
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user