Skip to content
Snippets Groups Projects
Commit 8d385522 authored by Jonathan Rose's avatar Jonathan Rose
Browse files

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
........

Merged revisions 361211 from http://svn.asterisk.org/svn/asterisk/branches/10


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@361212 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 6cd462cc
Branches
Tags
No related merge requests found
...@@ -152,7 +152,6 @@ int ooh323c_start_call_thread(ooCallData *call) { ...@@ -152,7 +152,6 @@ int ooh323c_start_call_thread(ooCallData *call) {
} }
ast_module_ref(myself); ast_module_ref(myself);
memset(cur, 0, sizeof(cur));
if ((socketpair(PF_LOCAL, SOCK_STREAM, 0, cur->thePipe)) == -1) { 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); ast_log(LOG_ERROR, "Can't create thread pipe for call %s\n", call->callToken);
free(cur); free(cur);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment