search for: d050b80

Displaying 1 result from an estimated 1 matches for "d050b80".

Did you mean: 0x0b80
2012 Jun 11
1
tftp-hpa bug on aliased interface and recent kernels.
...l a flaw. Notably, if tftpd is running with AF_UNSPEC (as it will if ipv6 support is desired), myrecvfrom will fail to setsockopt to get the data back on the first pass. I'd guess the least disruptive change to get to be correct would be: diff --git a/tftpd/recvfrom.c b/tftpd/recvfrom.c index d050b80..fe233da 100644 --- a/tftpd/recvfrom.c +++ b/tftpd/recvfrom.c @@ -149,16 +149,16 @@ myrecvfrom(int s, void *buf, int len, unsigned int flags, /* Try to enable getting the return address */ #ifdef IP_RECVDSTADDR - if (from->sa_family == AF_INET) + if (from->sa_family == AF_INET ||...