From adab84bb56af9c8f69c0eddd35d7d569d0fc1036 Mon Sep 17 00:00:00 2001 From: Tatsuya Kinoshita Date: Sat, 6 Dec 2014 19:06:32 +0900 Subject: New patch 440_parsetagx-crash.patch to fix crash in parse_tag() --- debian/patches/440_parsetagx-crash.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 debian/patches/440_parsetagx-crash.patch (limited to 'debian/patches/440_parsetagx-crash.patch') 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 +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; jattrid[j] == ATTR_TYPE && ++ tag->value[j] && + strcmp("hidden",tag->value[j]) == 0) { + hidden=TRUE; + break; -- cgit v1.2.3