summaryrefslogtreecommitdiff
path: root/www/lynx/patches/patch-WWW_Library_Implementation_HTUTILS.h
blob: 46d0d5836e1ee7511fd027e5b79e096e90adf31a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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);