search for: strip_address

Displaying 4 results from an estimated 4 matches for "strip_address".

2017 Jan 29
2
[PATCH tftpd-hpa] tftpd: don't use AI_CANONNAME and AI_ADDRCONFIG to resolve addresses for bind
...n sock_addr *s, char **name) memset(&hints, 0, sizeof(hints)); hints.ai_family = s->sa.sa_family; - hints.ai_flags = AI_CANONNAME | AI_ADDRCONFIG; + hints.ai_flags = ai_flags; hints.ai_socktype = SOCK_DGRAM; hints.ai_protocol = IPPROTO_UDP; err = getaddrinfo(strip_address(host), NULL, &hints, &addrResult); diff --git a/common/tftpsubs.h b/common/tftpsubs.h index b3a3bf3c95e1..0edda03a514c 100644 --- a/common/tftpsubs.h +++ b/common/tftpsubs.h @@ -98,7 +98,7 @@ static inline int sa_set_port(union sock_addr *s, u_short port) return 0; } -int set_soc...
2017 Apr 10
2
Fwd: Obsolete NSA exploit for Postfix 2.0 - 2.2
...a bug that was fixed 11 years ago in Postfix 2.2.11 and later. There was a memory corruption bug in a Postfix workaround for a Sendmail bug (CERT advisory CA-2003-07, remote buffer overflow when message headers contain lots of comment text before an email address). Technical details: the Postfix strip_address() function, which removes large comments from a mail header, called the printable() function on a string that wasn't null-terminated. This caused the printable() function to scribble past the end of malloc()ed memory, corrupting the memory heap. Running the exploit against Postfix versions les...
2017 Feb 02
0
Bug#771441: [PATCH tftpd-hpa] tftpd: don't use AI_CANONNAME and AI_ADDRCONFIG to resolve addresses for bind
...; memset(&hints, 0, sizeof(hints)); > hints.ai_family = s->sa.sa_family; > - hints.ai_flags = AI_CANONNAME | AI_ADDRCONFIG; > + hints.ai_flags = ai_flags; > hints.ai_socktype = SOCK_DGRAM; > hints.ai_protocol = IPPROTO_UDP; > err = getaddrinfo(strip_address(host), NULL, &hints, &addrResult); > diff --git a/common/tftpsubs.h b/common/tftpsubs.h > index b3a3bf3c95e1..0edda03a514c 100644 > --- a/common/tftpsubs.h > +++ b/common/tftpsubs.h > @@ -98,7 +98,7 @@ static inline int sa_set_port(union sock_addr *s, u_short port) >...
2017 Feb 02
2
Bug#771441: [PATCH tftpd-hpa] tftpd: don't use AI_CANONNAME and AI_ADDRCONFIG to resolve addresses for bind
...izeof(hints)); > > hints.ai_family = s->sa.sa_family; > > - hints.ai_flags = AI_CANONNAME | AI_ADDRCONFIG; > > + hints.ai_flags = ai_flags; > > hints.ai_socktype = SOCK_DGRAM; > > hints.ai_protocol = IPPROTO_UDP; > > err = getaddrinfo(strip_address(host), NULL, &hints, &addrResult); > > diff --git a/common/tftpsubs.h b/common/tftpsubs.h > > index b3a3bf3c95e1..0edda03a514c 100644 > > --- a/common/tftpsubs.h > > +++ b/common/tftpsubs.h > > @@ -98,7 +98,7 @@ static inline int sa_set_port(union sock_addr *s,...