diff options
author | Olaf Hering <olh@suse.de> | 2014-12-06 10:01:13 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2014-12-06 10:01:13 +0000 |
commit | 608828ed7e3c47560b9653dde5141f27c860449a (patch) | |
tree | a1c5a17b45b8e587e60798e5cd910079a9e67d35 | |
parent | Merge branch 'bug/no-ascii-default' (diff) | |
download | w3m-608828ed7e3c47560b9653dde5141f27c860449a.tar.gz w3m-608828ed7e3c47560b9653dde5141f27c860449a.zip |
Fix crash in parse_tag() during every start
Origin: https://build.opensuse.org/package/view_file/openSUSE:Factory/w3m/w3m-parsetagx-crash.patch?expand=1
-rw-r--r-- | parsetagx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/parsetagx.c b/parsetagx.c index 6b627d2..3435f9f 100644 --- a/parsetagx.c +++ b/parsetagx.c @@ -221,6 +221,7 @@ parse_tag(char **s, int internal) int j, hidden=FALSE; for (j=0; j<i; j++) { if (tag->attrid[j] == ATTR_TYPE && + tag->value[j] && strcmp("hidden",tag->value[j]) == 0) { hidden=TRUE; break; |