Skip to content

Draft: community/loudmouth: rebuild without asyncns

rubicon requested to merge rubicon/aports:rubicon-master-patch-52246 into master

Disabling asyncns seems to fix segfaults in mcabber and irssi-xmpp, probably caused by how loudmouth uses asyncns (very likely due to not applying the macro #define freeaddrinfo(x) asyncns_freeaddrinfo(x) in lm-resolver.c).

This should be the same issue as what OpenSMTPD encountered a few years ago, as documented here: https://poolp.org/posts/2019-11-17/november-2019-report-opensmtpd-6.6.1p1-filter-greylist-and-tons-of-portable-cleanup/#alpine-linux-issues-musl-libc-really

In short: libasyncns creates its own addrinfo struct, which is similar in implementation to the addrinfo of most other libc's, with musl being the exception. So, trying to free an addrinfo struct from libasyncns with other libc's freeaddrinfo() function does not result in a segfault, while trying to do the same with musl's freeaddrinfo() does.

Edited by rubicon

Merge request reports

Loading