[svn-commits] jrose: branch 10 r361211 - in /branches/10: ./ addons/ooh323cDriver.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Apr 4 15:00:27 CDT 2012


Author: jrose
Date: Wed Apr  4 15:00:23 2012
New Revision: 361211

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=361211
Log:
Fix some stuff involving calls to memcpy and memset

The important parts of the patch were already applied through other updates.

(closes issue ASTERISK-19445)
Reported by: Makoto Dei
Patches:
	memset-memcpy-length.patch uploaded by Makoto Dei (license 5027)
........

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

Modified:
    branches/10/   (props changed)
    branches/10/addons/ooh323cDriver.c

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

Modified: branches/10/addons/ooh323cDriver.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/addons/ooh323cDriver.c?view=diff&rev=361211&r1=361210&r2=361211
==============================================================================
--- branches/10/addons/ooh323cDriver.c (original)
+++ branches/10/addons/ooh323cDriver.c Wed Apr  4 15:00:23 2012
@@ -152,7 +152,6 @@
 	}
 
 	ast_module_ref(myself);
-	memset(cur, 0, sizeof(cur));
 	if ((socketpair(PF_LOCAL, SOCK_STREAM, 0, cur->thePipe)) == -1) {
 		ast_log(LOG_ERROR, "Can't create thread pipe for call %s\n", call->callToken);
 		free(cur);




More information about the svn-commits mailing list