diff options
author | Tatsuya Kinoshita <tats@debian.org> | 2016-08-19 22:12:41 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2016-11-19 05:11:41 +0000 |
commit | ffc052b4dfddbb57ae69cfdba254afb8be46eb87 (patch) | |
tree | 3c65525f121eab4199f7bf95877867e898228369 /parsetagx.c | |
parent | Fix table rowspan and colspan (diff) | |
download | w3m-ffc052b4dfddbb57ae69cfdba254afb8be46eb87.tar.gz w3m-ffc052b4dfddbb57ae69cfdba254afb8be46eb87.zip |
Fix uninitialised values for <i> and <dd>
Bug-Debian: https://github.com/tats/w3m/issues/16
[CVE-2016-9435] [CVE-2016-9436]
Origin: https://anonscm.debian.org/cgit/collab-maint/w3m.git/commit/?id=33509cc81ec5f2ba44eb6fd98bd5c1b5873e46bd
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 6b627d2..e8486ba 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 == '/') { |