Displaying 2 results from an estimated 2 matches for "normalize_ip6_compat".
2015 Jul 29
2
Bug#793921: tftpd-hpa: IPv6 address cannonization breaks IPv4
...> > #endif
> >
> > +#include <assert.h>
> > +
> > #if defined(HAVE_RECVMSG) && defined(HAVE_MSGHDR_MSG_CONTROL)
> >
> > #include <sys/uio.h>
> > @@ -253,6 +255,8 @@
> > }
> > #endif
> > normalize_ip6_compat(myaddr);
> > + normalize_ip6_compat((union sock_addr *)from);
> > + assert(from->sa_family == myaddr->sa.sa_family);
> > }
> > #endif
> > }
>
>
> I think I can see a couple of ways this might start to wind down a
> rathole o...
2015 Aug 07
0
Bug#793921: tftpd-hpa: IPv6 address cannonization breaks IPv4
...>>> +#include <assert.h>
>>> +
>>> #if defined(HAVE_RECVMSG) && defined(HAVE_MSGHDR_MSG_CONTROL)
>>>
>>> #include <sys/uio.h>
>>> @@ -253,6 +255,8 @@
>>> }
>>> #endif
>>> normalize_ip6_compat(myaddr);
>>> + normalize_ip6_compat((union sock_addr *)from);
>>> + assert(from->sa_family == myaddr->sa.sa_family);
>>> }
>>> #endif
>>> }
>>
I have applied the solution of canonicalizing all the addresses into git...