Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190527201442.GA2550@darth.lan>
Date: Mon, 27 May 2019 22:14:42 +0200
From: Sebastian Kemper <sebastian_ml@....net>
To: musl@...ts.openwall.com
Subject: Re: Asterisk 16 segmentation fault

On Sat, Mar 02, 2019 at 06:59:48PM +0100, Sebastian Kemper wrote:
> On Sat, Mar 02, 2019 at 12:36:09PM -0500, Rich Felker wrote:
> > Please be aware: This is just fixing the crash, but isn't fixing the
> > logic error in the Asterisk software that led to it. I'm pretty sure
> > module loading is not working correctly. Actually fixing this is going
> > to be a much bigger task.
>
> Hi Rich,
>
> Thanks, I mentioned that.
>
> https://issues.asterisk.org/jira/browse/ASTERISK-28319
>
> Kind regards,
> Seb

Hi all,

All is well that ends well. With help from Corey from Asterisk upstream we
added some code to support permanent dlopen, which can be activated via
"configure --enable-permanent-dlopen".

https://gerrit.asterisk.org/c/asterisk/+/11217

The code has been queued for Asterisk 16.4.0 and is already in OpenWrt
trunk.

The other problem we had (regarding the redefinitions in astmm.h) we fixed with
a small patch that was suggested by Timo from Alpine Linux.

--- a/include/asterisk/compat.h
+++ b/include/asterisk/compat.h
@@ -30,6 +30,7 @@
 #include <inttypes.h>
 #include <limits.h>
 #include <unistd.h>
+#include <pthread.h>

 #ifdef HAVE_STDDEF_H
 #include <stddef.h>

Thanks again for your support!

Kind regards,
Seb

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.