[asterisk-commits] qwell: trunk r55805 - in /trunk: ./
channels/chan_gtalk.c channels/chan_jingle.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Tue Feb 20 19:04:11 MST 2007
Author: qwell
Date: Tue Feb 20 20:04:10 2007
New Revision: 55805
URL: http://svn.digium.com/view/asterisk?view=rev&rev=55805
Log:
Merged revisions 55799 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r55799 | qwell | 2007-02-20 20:01:36 -0600 (Tue, 20 Feb 2007) | 4 lines
Fix segfault when buddy couldn't be found.
Issue 7764, patch by sailer
........
Modified:
trunk/ (props changed)
trunk/channels/chan_gtalk.c
trunk/channels/chan_jingle.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/channels/chan_gtalk.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_gtalk.c?view=diff&rev=55805&r1=55804&r2=55805
==============================================================================
--- trunk/channels/chan_gtalk.c (original)
+++ trunk/channels/chan_gtalk.c Tue Feb 20 20:04:10 2007
@@ -838,7 +838,7 @@
buddy = ASTOBJ_CONTAINER_FIND(&client->connection->buddies, them);
if (buddy)
resources = buddy->resources;
- } else
+ } else if (client->buddy)
resources = client->buddy->resources;
while (resources) {
if (resources->cap->jingle) {
Modified: trunk/channels/chan_jingle.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_jingle.c?view=diff&rev=55805&r1=55804&r2=55805
==============================================================================
--- trunk/channels/chan_jingle.c (original)
+++ trunk/channels/chan_jingle.c Tue Feb 20 20:04:10 2007
@@ -707,7 +707,7 @@
buddy = ASTOBJ_CONTAINER_FIND(&client->connection->buddies, from);
if (buddy)
resources = buddy->resources;
- } else
+ } else if (client->buddy)
resources = client->buddy->resources;
while (resources) {
if (resources->cap->jingle) {
More information about the asterisk-commits
mailing list