[svn-commits] dvossel: branch 1.8 r330581 - /branches/1.8/channels/chan_iax2.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Tue Aug 2 11:15:12 CDT 2011
Author: dvossel
Date: Tue Aug 2 11:15:08 2011
New Revision: 330581
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=330581
Log:
Fixes crash in chan_iax2.
Fixes crash in chan_iax2 resulting from an edge case in the
way control frames are queued during calltoken negotiation is complete.
(closes issue ASTERISK-17610)
Reported by: mgrobecker
Modified:
branches/1.8/channels/chan_iax2.c
Modified: branches/1.8/channels/chan_iax2.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/chan_iax2.c?view=diff&rev=330581&r1=330580&r2=330581
==============================================================================
--- branches/1.8/channels/chan_iax2.c (original)
+++ branches/1.8/channels/chan_iax2.c Tue Aug 2 11:15:08 2011
@@ -1818,7 +1818,9 @@
static void free_signaling_queue_entry(struct signaling_queue_entry *s)
{
- ast_free(s->f.data.ptr);
+ if (s->f.datalen) {
+ ast_free(s->f.data.ptr);
+ }
ast_free(s);
}
More information about the svn-commits
mailing list