[asterisk-addons-commits] dvossel: branch 1.6.2 r1087 - /branches/1.6.2/channels/chan_ooh323.c

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


Author: dvossel
Date: Thu Jan  7 15:15:48 2010
New Revision: 1087

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

fixes copying string using wrong length

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

Modified:
    branches/1.6.2/channels/chan_ooh323.c

Modified: branches/1.6.2/channels/chan_ooh323.c
URL: http://svnview.digium.com/svn/asterisk-addons/branches/1.6.2/channels/chan_ooh323.c?view=diff&rev=1087&r1=1086&r2=1087
==============================================================================
--- branches/1.6.2/channels/chan_ooh323.c (original)
+++ branches/1.6.2/channels/chan_ooh323.c Thu Jan  7 15:15:48 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