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:
Russell Bryant
2007-07-17 20:42:12 +00:00
parent 396e723f17
commit 2193734456

View File

@@ -6819,6 +6819,7 @@ static int socket_process(struct iax2_thread *thread)
return 1;
}
f.data = NULL;
f.datalen = 0;
} else
f.data = thread->buf + sizeof(*fh);
} else {