aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2014-12-06 10:01:47 +0000
committerTatsuya Kinoshita <tats@debian.org>2014-12-06 10:01:47 +0000
commit6ef08c68f162ed69362ca54a4cb95f9e9a5d5897 (patch)
treea1c5a17b45b8e587e60798e5cd910079a9e67d35
parentMerge branch 'bug/no-ascii-default' (diff)
parentFix crash in parse_tag() during every start (diff)
downloadw3m-6ef08c68f162ed69362ca54a4cb95f9e9a5d5897.tar.gz
w3m-6ef08c68f162ed69362ca54a4cb95f9e9a5d5897.zip
Merge branch 'bug/parsetagx-crash'
Diffstat (limited to '')
-rw-r--r--parsetagx.c1
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;