openbsd-ports/net/lftp/patches/patch-src_Resolver_cc
jasper 039e1f150c - SECURITY update of lftp to 4.0.8
SA39861: LFTP Insecure "Content-Disposition" Suggested Filename Handling Weakness

ok kevlo@ (MAINTAINER)
2010-05-26 06:55:53 +00:00

13 lines
507 B
Plaintext

$OpenBSD: patch-src_Resolver_cc,v 1.8 2010/05/26 06:55:53 jasper Exp $
--- src/Resolver.cc.orig Tue Nov 17 09:16:44 2009
+++ src/Resolver.cc Tue May 25 15:19:16 2010
@@ -795,8 +795,6 @@ void Resolver::LookupOne(const char *name)
# undef h_errno // it could be a macro, but we want it to be local variable.
int h_errno=0;
ha=getipnodebyname(name,af,0,&h_errno);
-# elif defined(HAVE_GETHOSTBYNAME2)
- ha=gethostbyname2(name,af);
# else
if(af==AF_INET)
ha=gethostbyname(name);