diff options
author | David Bauer <mail@david-bauer.net> | 2019-07-25 18:58:03 +0200 |
---|---|---|
committer | David Bauer <mail@david-bauer.net> | 2019-07-25 20:21:33 +0200 |
commit | ed3c3e3c7975f9688fe76784a34be6ad189538ed (patch) | |
tree | 790d09a9917589383aed5c0f3f4d7da7d5782cd8 /net/fastd/Makefile | |
parent | ad6ed836a59d986b2a449ec958d0581b1959a338 (diff) |
fastd: fix segmentation fault with musl >1.1.20
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 'net/fastd/Makefile')
-rw-r--r-- | net/fastd/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/fastd/Makefile b/net/fastd/Makefile index 4e2bcd5f9..2626b6921 100644 --- a/net/fastd/Makefile +++ b/net/fastd/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=fastd PKG_VERSION:=18 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_MAINTAINER:=Matthias Schiffer <mschiffer@universe-factory.net> PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz |