aboutsummaryrefslogtreecommitdiffstats
path: root/channels/iax2-parser.h
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-07-17 20:49:09 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-07-17 20:49:09 +0000
commit94cdda3f04d372a9203a23faa92e957db29d5852 (patch)
tree800990dbdc005447ca001a29a8d86e51833d3eca /channels/iax2-parser.h
parent409b5322f7ef7df0bc5c3a62fe2c2ce5247f339a (diff)
Merged revisions 75445 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r75445 | russell | 2007-07-17 15:48:21 -0500 (Tue, 17 Jul 2007) | 13 lines Merged revisions 75444 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r75444 | russell | 2007-07-17 15:45:27 -0500 (Tue, 17 Jul 2007) | 5 lines Ensure that when encoding the contents of an ast_frame into an iax_frame, that the size of the destination buffer is known in the iax_frame so that code won't write past the end of the allocated buffer when sending outgoing frames. (ASA-2007-014) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@75446 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/iax2-parser.h')
-rw-r--r--channels/iax2-parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/iax2-parser.h b/channels/iax2-parser.h
index 076f7ca85..e40669d3d 100644
--- a/channels/iax2-parser.h
+++ b/channels/iax2-parser.h
@@ -126,7 +126,7 @@ struct iax_frame {
/* Actual, isolated frame header */
struct ast_frame af;
/*! Amount of space _allocated_ for data */
- size_t mallocd_datalen;
+ size_t afdatalen;
unsigned char unused[AST_FRIENDLY_OFFSET];
unsigned char afdata[0]; /* Data for frame */
};