search for: eai_nodata

Displaying 8 results from an estimated 8 matches for "eai_nodata".

2019 Dec 04
4
Dovecot 2.3.9 fails on FreeBSD
...t; > Following output is the build log: https://pastebin.com/3nvSeDn8 > > > > So I guess it has to do with some changes FreeBSD made: > > https://reviews.freebsd.org/D18630 > > As far as I can tell, dovecot should be checking for the existence of > EAI_ADDRFAMILY and EAI_NODATA. > > The good news is, a quick workaround is to remove the two lines that use > these two constants. (A correct patch would do the proper checks.) Ok. That was easy. I'm going to get the following patch reviewed and committed. Jeff. diff --git a/src/lib/net.c b/src/lib/net.c ---...
2019 Dec 04
4
Dovecot 2.3.9 fails on FreeBSD
Hi I've just tried to build the latest Dovecot 2.3.9 on FreeBSD 11.3. Without success...It fails on the following commit which was introduced in 2.3.9: https://github.com/dovecot/core/commit/c85f1bc3ce612c736c9d2c468cc08306db1b5851 Following output is the build log: https://pastebin.com/3nvSeDn8 So I guess it has to do with some changes FreeBSD made: https://reviews.freebsd.org/D18630
2019 Dec 04
0
Dovecot 2.3.9 fails on FreeBSD
...the build log: https://pastebin.com/3nvSeDn8 > > > > > > So I guess it has to do with some changes FreeBSD made: > > > https://reviews.freebsd.org/D18630 > > > > As far as I can tell, dovecot should be checking for the existence of > > EAI_ADDRFAMILY and EAI_NODATA. > > > > The good news is, a quick workaround is to remove the two lines that use > > these two constants. (A correct patch would do the proper checks.) > > Ok. That was easy. I'm going to get the following patch reviewed and > committed. > > Jeff. > >...
2002 Dec 13
1
Help compiling tinc in Solaris 2.6
...:38: `EAI_MEMORY' undeclared (first use in this function) fake-getnameinfo.c:38: (Each undeclared identifier is reported only once fake-getnameinfo.c:38: for each function it appears in.) fake-getnameinfo.c:44: `NI_NUMERICHOST' undeclared (first use in this function) fake-getnameinfo.c:54: `EAI_NODATA' undeclared (first use in this function) make[2]: *** [fake-getnameinfo.o] Error 1 make[2]: Leaving directory `/home/raub/todo/tinc-1.0pre8/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/raub/todo/tinc-1.0pre8' make: *** [all] Error 2 raub@kushana> Does...
2019 Dec 04
0
Dovecot 2.3.9 fails on FreeBSD
...736c9d2c468cc08306db1b5851 > > Following output is the build log: https://pastebin.com/3nvSeDn8 > > So I guess it has to do with some changes FreeBSD made: > https://reviews.freebsd.org/D18630 As far as I can tell, dovecot should be checking for the existence of EAI_ADDRFAMILY and EAI_NODATA. The good news is, a quick workaround is to remove the two lines that use these two constants. (A correct patch would do the proper checks.) Jeff. -- Bad pun of the week: The formula 1 control computer suffered from a race condition
2000 Sep 25
2
off-by-one errors in getnameinfo()
Description: getnameinfo() (confirmed for CVS version 1.14.2.1) does this sort of buffer size checks (these is just two of many cases): if (strlen(sp->s_name) > servlen) return ENI_MEMORY; strcpy(serv, sp->s_name); ... if (strlen(hp->h_name) > hostlen) {
2000 Jan 27
0
more NetBSD patches, for OpenSSH V1.2.2
...AF_INET)) + } else { + if ((hp = gethostbyaddr((char *)&sin->sin_addr, sizeof(struct in_addr), + AF_INET)) != NULL) { if (strlen(hp->h_name) > hostlen) return EAI_MEMORY; else { strcpy(host, hp->h_name); return 0; } - else + } else return EAI_NODATA; + } + } return 0; } #endif /* !HAVE_GETNAMEINFO */ $NetBSD: patch-ag,v 1.2 2000/01/27 17:12:05 hubertf Exp $ --- uidswap.c.orig Thu Jan 20 14:18:16 2000 +++ uidswap.c Thu Jan 27 17:04:38 2000 @@ -26,8 +26,10 @@ is not part of the posix specification. */ #define SAVED_IDS_WORK_WITH_S...
2013 Oct 07
4
Feature request: FQDN Host match
Hello! I'm hoping that Gmail won't HTML format this mail so that I'll get flamed :) Anyway, my question relates to ssh_config. The problem I find is that the Host pattern is only applied to the argument given on the command line, as outlined in the man page: "The host is the hostname argument given on the command line (i.e. the name is not converted to a canonicalized host name