mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 00:04:53 +00:00
Merged revisions 75440 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r75440 | russell | 2007-07-17 15:41:41 -0500 (Tue, 17 Jul 2007) | 4 lines After parsing information elements in IAX frames, set the data length to zero, so that code later on does not think it has data to copy. (ASA-2007-015) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@75441 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -6819,6 +6819,7 @@ static int socket_process(struct iax2_thread *thread)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
f.data = NULL;
|
f.data = NULL;
|
||||||
|
f.datalen = 0;
|
||||||
} else
|
} else
|
||||||
f.data = thread->buf + sizeof(*fh);
|
f.data = thread->buf + sizeof(*fh);
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user