diff options
author | Tatsuya Kinoshita <tats@debian.org> | 2014-12-06 10:06:32 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2014-12-06 10:06:32 +0000 |
commit | adab84bb56af9c8f69c0eddd35d7d569d0fc1036 (patch) | |
tree | fe2d76db41965583aeb09070d8b7a06a90c2ccdf | |
parent | New patch 430_no-ascii-default.patch to set alt_entity=0 by default (diff) | |
download | w3m-adab84bb56af9c8f69c0eddd35d7d569d0fc1036.tar.gz w3m-adab84bb56af9c8f69c0eddd35d7d569d0fc1036.zip |
New patch 440_parsetagx-crash.patch to fix crash in parse_tag()
-rw-r--r-- | debian/patches/440_parsetagx-crash.patch | 16 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/440_parsetagx-crash.patch b/debian/patches/440_parsetagx-crash.patch new file mode 100644 index 0000000..08c570e --- /dev/null +++ b/debian/patches/440_parsetagx-crash.patch @@ -0,0 +1,16 @@ +Subject: Fix crash in parse_tag() during every start +Author: Olaf Hering <olh@suse.de> +Origin: https://build.opensuse.org/package/view_file/openSUSE:Factory/w3m/w3m-parsetagx-crash.patch?expand=1 + +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; diff --git a/debian/patches/series b/debian/patches/series index 9096412..8ab45cc 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -42,6 +42,7 @@ 410_textarea-segfault.patch 420_uninitialized.patch 430_no-ascii-default.patch +440_parsetagx-crash.patch 800_lang-en.patch 810_lang-de.patch 820_lang-ja.patch |