New commits:
commit 202d1b7c6f3cfd63bcf066e278c30163f1b8752a
Author: D. Hugh Redelmeier <[email protected]>
Date: Tue May 4 00:11:22 2021 -0400
libswan/ttoaddress.c: attempt to fix a crash in ttoaddress_dns
Cagney observed a crash in the version of ttoaddress_dns that uses
getaddrinfo.
It looks as if freeaddrinfo is trying to free something that wasn't
malloced.
The best explanation is that getaddrinfo does NOT set *res if some failure
is recognized (this is not documented).
This commit initialized res to NULL. That should work if freeaddrinfo
does or does not set *res on failure.
_______________________________________________
Swan-commit mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan-commit