From owner-freebsd-ports@FreeBSD.ORG Sat Sep 7 08:42:01 2013 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 2B9654A2; Sat, 7 Sep 2013 08:42:01 +0000 (UTC) (envelope-from bscott@bunyatech.com.au) Received: from cope.tawonga.bunyatech.com.au (unknown [IPv6:2002:3ba7:bd3c::]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8A80F2420; Sat, 7 Sep 2013 08:41:59 +0000 (UTC) Received: from loch.tawonga.bunyatech.com.au (loch.tawonga.bunyatech.com.au [10.0.1.79]) by cope.tawonga.bunyatech.com.au (8.14.6/8.14.6) with ESMTP id r878fuHJ069371; Sat, 7 Sep 2013 18:41:56 +1000 (EST) (envelope-from bscott@bunyatech.com.au) Message-ID: <522AE6E0.5040400@bunyatech.com.au> Date: Sat, 07 Sep 2013 18:42:08 +1000 From: Brian Scott User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: flo@FreeBSD.org Subject: FreeBSD Port: asterisk11-11.5.1 Content-Type: multipart/mixed; boundary="------------030002070905020604030603" Cc: ports@FreeBSD.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Sep 2013 08:42:01 -0000 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--