Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Tue, 28 May 2019 16:21:00 -0400
From: Rich Felker <dalias@...c.org>
To: musl@...ts.openwall.com
Subject: Re: Asterisk 16 segmentation fault

On Mon, May 27, 2019 at 10:14:42PM +0200, Sebastian Kemper wrote:
> 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!

Thanks for the update! It's nice to know this should be working
correctly now without hacks or silent breakage.

Rich

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.