[asterisk-addons-commits] dvossel: branch 1.6.1 r1088 - /branches/1.6.1/channels/chan_ooh323.c

SVN commits to the Asterisk addons project asterisk-addons-commits at lists.digium.com
Thu Jan 7 15:17:39 CST 2010


Author: dvossel
Date: Thu Jan  7 15:17:33 2010
New Revision: 1088

URL: http://svnview.digium.com/svn/asterisk-addons?view=rev&rev=1088
Log:

fixes copying string using wrong length

(closes issue 0016209)
Reported by: nevenchannyy
Patches:
      ooh323-dial.patch uploaded by nevenchannyy (license 918)

Modified:
    branches/1.6.1/channels/chan_ooh323.c

Modified: branches/1.6.1/channels/chan_ooh323.c
URL: http://svnview.digium.com/svn/asterisk-addons/branches/1.6.1/channels/chan_ooh323.c?view=diff&rev=1088&r1=1087&r2=1088
==============================================================================
--- branches/1.6.1/channels/chan_ooh323.c (original)
+++ branches/1.6.1/channels/chan_ooh323.c Thu Jan  7 15:17:33 2010
@@ -455,7 +455,7 @@
 	/* This is an outgoing call, since ooh323_request is called */
 	ast_set_flag(p, H323_OUTGOING);
 
-	ast_copy_string(tmp, data, sizeof(data));
+	ast_copy_string(tmp, data, sizeof(tmp));
 
 	dest = strchr(tmp, '/');
 




More information about the asterisk-addons-commits mailing list