diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-07-17 20:48:21 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-07-17 20:48:21 +0000 |
commit | 0be7762369250d46c2646a09419115fe4bf9ca80 (patch) | |
tree | e33697377ae2c178f58853730a513acc37ce203f /channels/iax2-parser.h | |
parent | 07361072d4d1f2802920f9d01162494c9a9b14f0 (diff) |
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/branches/1.4@75445 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/iax2-parser.h')
-rw-r--r-- | channels/iax2-parser.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/iax2-parser.h b/channels/iax2-parser.h index 1b95d099f..0f3e18c00 100644 --- a/channels/iax2-parser.h +++ b/channels/iax2-parser.h @@ -123,7 +123,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 */ }; |