summaryrefslogtreecommitdiffstats
path: root/src/protocols/ec25519_fhmqvc
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2019-07-25 18:51:25 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2019-07-25 20:45:54 +0200
commit7d9f90ebe9dd3a7f6af1fbb97d8cc228fb0fded4 (patch)
tree7bc547ac509731f742dd19c7b985103881b6ebbb /src/protocols/ec25519_fhmqvc
parent5cb3bf654a762d797f94d9aca2d56484b3b0ed75 (diff)
downloadfastd-7d9f90ebe9dd3a7f6af1fbb97d8cc228fb0fded4.tar
fastd-7d9f90ebe9dd3a7f6af1fbb97d8cc228fb0fded4.zip
resolve: fix segmentation fault with musl >1.1.20HEADmaster
When compiled with musl >1.1.20, fastd will crash in case it can't resolve a peers hostname. This is due to a changed implementation of freeaddrinfo in musl 1.1.21 onwards. This segfault is fixed by not calling freeaddrinfo in case the supplied pointer is null. Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'src/protocols/ec25519_fhmqvc')
0 files changed, 0 insertions, 0 deletions