Displaying 1 result from an estimated 1 matches for "d0ff16a5".
Did you mean:
d0ef6a5
2018 Feb 21
1
tinc 1.1: freeaddrinfo(NULL) crash on windows
Unfortunately, my fix exposed a problem in reset_address_cache()
could call free_known_addresses() on a struct addrinfo * that was
returned by getaddrinfo(). This results in heap corruption on
Windows (and a crash).
It seems safest to just make a copy of the addresses returned by
getaddrinfo() so it can always use free_known_addresses() instead
of trying to determine whether or not we need to