[asterisk-commits] mmichelson: trunk r103771 - in /trunk: ./ channels/chan_zap.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Feb 18 10:40:37 CST 2008
Author: mmichelson
Date: Mon Feb 18 10:40:36 2008
New Revision: 103771
URL: http://svn.digium.com/view/asterisk?view=rev&rev=103771
Log:
Merged revisions 103770 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r103770 | mmichelson | 2008-02-18 10:37:31 -0600 (Mon, 18 Feb 2008) | 10 lines
Fix a linked list corruption that under the right circumstances
could lead to a looped list, meaning it will traverse forever.
(closes issue #11818)
Reported by: michael-fig
Patches:
11818.patch uploaded by putnopvut (license 60)
Tested by: michael-fig
........
Modified:
trunk/ (props changed)
trunk/channels/chan_zap.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_zap.c?view=diff&rev=103771&r1=103770&r2=103771
==============================================================================
--- trunk/channels/chan_zap.c (original)
+++ trunk/channels/chan_zap.c Mon Feb 18 10:40:36 2008
@@ -8678,7 +8678,10 @@
}
p->destroy = 1;
p->next = iflist;
+ p->prev = NULL;
iflist = p;
+ if (iflist->next)
+ iflist->next->prev = p;
return p;
}
More information about the asterisk-commits
mailing list