[asterisk-commits] tilghman: trunk r97365 - /trunk/main/asterisk.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jan 8 18:58:23 CST 2008


Author: tilghman
Date: Tue Jan  8 18:58:22 2008
New Revision: 97365

URL: http://svn.digium.com/view/asterisk?view=rev&rev=97365
Log:
New option in trunk, needs strdupa to be safe, too

Modified:
    trunk/main/asterisk.c

Modified: trunk/main/asterisk.c
URL: http://svn.digium.com/view/asterisk/trunk/main/asterisk.c?view=diff&rev=97365&r1=97364&r2=97365
==============================================================================
--- trunk/main/asterisk.c (original)
+++ trunk/main/asterisk.c Tue Jan  8 18:58:22 2008
@@ -2816,7 +2816,7 @@
 			rungroup = ast_strdupa(optarg);
 			break;
 		case 's':
-			remotesock = optarg;
+			remotesock = ast_strdupa(optarg);
 			break;
 		case '?':
 			exit(1);




More information about the asterisk-commits mailing list