tinc 1.1: freeaddrinfo(NULL) crash on windows

Todd C. Miller Todd.Miller at sudo.ws
Mon Jan 22 18:30:26 CET 2018


On Mon, 22 Jan 2018 18:08:22 +0100, Guus Sliepen wrote:

> Thanks for reporting this bug! Indeed, that code is wrong. It should
> free cache->ai instead of cache->aip. Even if it didn't crash on Linux,
> it was a memory leak. A fix is now in the git repository.

Thanks for the quick fix.  I noticed some other missing freeaddrinfo()
calls.

https://github.com/gsliepen/tinc/pull/171

 - todd


More information about the tinc-devel mailing list