[asterisk-commits] tilghman: branch 1.4 r75529 - /branches/1.4/apps/app_meetme.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jul 18 07:29:42 CDT 2007


Author: tilghman
Date: Wed Jul 18 07:29:41 2007
New Revision: 75529

URL: http://svn.digium.com/view/asterisk?view=rev&rev=75529
Log:
Using a freed frame causes crashes (closes issue #9317)

Modified:
    branches/1.4/apps/app_meetme.c

Modified: branches/1.4/apps/app_meetme.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_meetme.c?view=diff&rev=75529&r1=75528&r2=75529
==============================================================================
--- branches/1.4/apps/app_meetme.c (original)
+++ branches/1.4/apps/app_meetme.c Wed Jul 18 07:29:41 2007
@@ -3019,7 +3019,7 @@
 			}
 			if (cnf->origframe)
 				ast_frfree(cnf->origframe);
-			cnf->origframe = f;
+			cnf->origframe = ast_frdup(f);
 			ast_mutex_unlock(&cnf->listenlock);
 			if (s)
 				res = ast_writestream(s, f);




More information about the asterisk-commits mailing list