[svn-commits] rmudgett: branch 10 r354496 - in /branches/10: ./ apps/app_parkandannounce.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Feb 8 20:54:17 CST 2012


Author: rmudgett
Date: Wed Feb  8 20:54:14 2012
New Revision: 354496

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=354496
Log:
Fix crash in ParkAndAnnounce.

Well, thats embarrasing.  I forgot to initialize the caller_id storage.

(closes issue ASTERISK-19311)
Reported by: tootai
Tested by: rmudgett
........

Merged revisions 354495 from http://svn.asterisk.org/svn/asterisk/branches/1.8

Modified:
    branches/10/   (props changed)
    branches/10/apps/app_parkandannounce.c

Propchange: branches/10/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: branches/10/apps/app_parkandannounce.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/apps/app_parkandannounce.c?view=diff&rev=354496&r1=354495&r2=354496
==============================================================================
--- branches/10/apps/app_parkandannounce.c (original)
+++ branches/10/apps/app_parkandannounce.c Wed Feb  8 20:54:14 2012
@@ -150,6 +150,7 @@
 	}
 
 	/* Save the CallerID because the masquerade turns chan into a ZOMBIE. */
+	ast_party_id_init(&caller_id);
 	ast_channel_lock(chan);
 	ast_party_id_copy(&caller_id, &chan->caller.id);
 	ast_channel_unlock(chan);




More information about the svn-commits mailing list