diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:56:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:56:41 +0100 |
commit | d87262dd706fec50cd150aab3e93883b6337466d (patch) | |
tree | 246b44c33ad7a57550430b0a60fa0df86a3c9e68 /app-text/htmltidy/files | |
parent | 71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-text/htmltidy/files')
-rw-r--r-- | app-text/htmltidy/files/11CVE-2015-5522.patch | 34 | ||||
-rw-r--r-- | app-text/htmltidy/files/htmltidy-20090325-tidyrc.patch | 31 | ||||
-rw-r--r-- | app-text/htmltidy/files/htmltidy-5.10.26-strip-O2-flag.patch | 12 |
3 files changed, 0 insertions, 77 deletions
diff --git a/app-text/htmltidy/files/11CVE-2015-5522.patch b/app-text/htmltidy/files/11CVE-2015-5522.patch deleted file mode 100644 index b4d6158ea04a..000000000000 --- a/app-text/htmltidy/files/11CVE-2015-5522.patch +++ /dev/null @@ -1,34 +0,0 @@ -From c18f27a58792f7fbd0b30a0ff50d6b40a82f940d Mon Sep 17 00:00:00 2001 -From: Geoff McLane <ubuntu@geoffair.info> -Date: Wed, 3 Jun 2015 20:26:03 +0200 -Subject: [PATCH] Issue #217 - avoid len going negative, ever... - ---- - src/lexer.c | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -diff --git a/src/lexer.c b/src/lexer.c -index 376a3d8..664f806 100644 ---- a/src/lexer.c -+++ b/src/lexer.c -@@ -3739,16 +3740,17 @@ static tmbstr ParseValue( TidyDocImpl* doc, ctmbstr name, - /* and prompts attributes unless --literal-attributes is set to yes */ - /* #994841 - Whitespace is removed from value attributes */ - -- if (munge && -+ /* Issue #217 - Also only if/while (len > 0) - MUST NEVER GO NEGATIVE! */ -+ if ((len > 0) && munge && - TY_(tmbstrcasecmp)(name, "alt") && - TY_(tmbstrcasecmp)(name, "title") && - TY_(tmbstrcasecmp)(name, "value") && - TY_(tmbstrcasecmp)(name, "prompt")) - { -- while (TY_(IsWhite)(lexer->lexbuf[start+len-1])) -+ while (TY_(IsWhite)(lexer->lexbuf[start+len-1]) && (len > 0)) - --len; - -- while (TY_(IsWhite)(lexer->lexbuf[start]) && start < len) -+ while (TY_(IsWhite)(lexer->lexbuf[start]) && (start < len) && (len > 0)) - { - ++start; - --len; diff --git a/app-text/htmltidy/files/htmltidy-20090325-tidyrc.patch b/app-text/htmltidy/files/htmltidy-20090325-tidyrc.patch deleted file mode 100644 index 942a61e1464c..000000000000 --- a/app-text/htmltidy/files/htmltidy-20090325-tidyrc.patch +++ /dev/null @@ -1,31 +0,0 @@ -Index: tidy-20090325/include/platform.h -=================================================================== ---- tidy-20090325.orig/include/platform.h -+++ tidy-20090325/include/platform.h -@@ -24,7 +24,7 @@ extern "C" { - */ - - /* #define TIDY_CONFIG_FILE "/etc/tidy_config.txt" */ /* original */ --/* #define TIDY_CONFIG_FILE "/etc/tidyrc" */ -+#define TIDY_CONFIG_FILE "/etc/tidyrc" - /* #define TIDY_CONFIG_FILE "/etc/tidy.conf" */ - - /* -@@ -33,7 +33,7 @@ extern "C" { - It enables tidy to find config files named ~/.tidyrc if - the HTML_TIDY environment variable is not set. - */ --/* #define TIDY_USER_CONFIG_FILE "~/.tidyrc" */ -+#define TIDY_USER_CONFIG_FILE "~/.tidyrc" - - /* - Uncomment the following #define if your -@@ -48,7 +48,7 @@ extern "C" { - Contributed by Todd Lewis. - */ - --/* #define SUPPORT_GETPWNAM */ -+#define SUPPORT_GETPWNAM - - - /* Enable/disable support for Big5 and Shift_JIS character encodings */ diff --git a/app-text/htmltidy/files/htmltidy-5.10.26-strip-O2-flag.patch b/app-text/htmltidy/files/htmltidy-5.10.26-strip-O2-flag.patch deleted file mode 100644 index 4c805cf2226f..000000000000 --- a/app-text/htmltidy/files/htmltidy-5.10.26-strip-O2-flag.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -urN tidy.old/configure.in tidy-26/configure.in ---- tidy.old/configure.in 2006-02-13 17:17:49.000000000 +0100 -+++ tidy-26/configure.in 2006-02-13 17:17:20.000000000 +0100 -@@ -72,7 +72,7 @@ - if test $debug_build = yes; then - CFLAGS="$save_cflags -g" - else -- CFLAGS="-O2 $save_cflags" -+ CFLAGS="$save_cflags" - fi - # - # ============================================= |