Date: Sat, 07 Sep 2013 18:42:08 +1000 From: Brian Scott <bscott@bunyatech.com.au> To: flo@FreeBSD.org Cc: ports@FreeBSD.org Subject: FreeBSD Port: asterisk11-11.5.1 Message-ID: <522AE6E0.5040400@bunyatech.com.au>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------030002070905020604030603 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi, I just submitted this fix to digium (well, filed a bug report that described the fix). I don't know how fast they are with these things, particularly since its a bit FreeBSD specific (uninitialised memory on malloc) so I thought I'd drop you a copy as well. Regards, Brian Scott --------------030002070905020604030603 Content-Type: text/plain; charset=UTF-8; x-mac-type="0"; x-mac-creator="0"; name="astfix" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="astfix" --- include/asterisk/linkedlists.h 2012-11-28 04:47:32.000000000 +1100 +++ include/asterisk/linkedlists.h 2013-09-07 18:08:36.000000000 +1000 @@ -731,9 +731,11 @@ if (!(head)->first) { \ (head)->first = (elm); \ (head)->last = (elm); \ + (elm)->field.next = NULL; \ } else { \ (head)->last->field.next = (elm); \ (head)->last = (elm); \ + (elm)->field.next = NULL; \ } \ } while (0) --------------030002070905020604030603--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?522AE6E0.5040400>