summaryrefslogtreecommitdiff
path: root/www/lynx/patches/patch-WWW_Library_Implementation_HTUTILS.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/lynx/patches/patch-WWW_Library_Implementation_HTUTILS.h')
-rw-r--r--www/lynx/patches/patch-WWW_Library_Implementation_HTUTILS.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/www/lynx/patches/patch-WWW_Library_Implementation_HTUTILS.h b/www/lynx/patches/patch-WWW_Library_Implementation_HTUTILS.h
new file mode 100644
index 00000000000..46d0d5836e1
--- /dev/null
+++ b/www/lynx/patches/patch-WWW_Library_Implementation_HTUTILS.h
@@ -0,0 +1,16 @@
+$NetBSD: patch-WWW_Library_Implementation_HTUTILS.h,v 1.1.2.2 2016/12/28 16:37:56 bsiegert Exp $
+
+Fix CVE-2016-9179
+https://hg.java.net/hg/solaris-userland~gate/file/0a979060f73b/components/lynx/patches/05-fix-CVE-2016-9179.patch
+
+--- WWW/Library/Implementation/HTUtils.h.orig 2016-12-21 10:08:13.000000000 +0000
++++ WWW/Library/Implementation/HTUtils.h
+@@ -801,6 +801,8 @@ extern "C" {
+
+ extern FILE *TraceFP(void);
+
++ extern void strip_userid(char *host, int warn);
++
+ #ifdef USE_SSL
+ extern SSL *HTGetSSLHandle(void);
+ extern void HTSSLInitPRNG(void);