diff options
author | Jeff Peeler <jpeeler@digium.com> | 2010-01-26 18:07:57 +0000 |
---|---|---|
committer | Jeff Peeler <jpeeler@digium.com> | 2010-01-26 18:07:57 +0000 |
commit | 1d293d0093d58aeae09a3525d9755fae9d42f181 (patch) | |
tree | 1fbeea494c723481b854f7fc5b3a855fe4af303e /codecs/codec_a_mu.c | |
parent | adfa169e461974acdcf56c3c8999eabf43bee8cc (diff) |
Fix crash resulting from frames with invalid data pointers.
In ast_frdup the frame data union does not get set to point to malloced memory
if the datalen is zero, so make sure to handle the same case in ast_frisolate
appropriately.
(closes issue #16058)
Reported by: atis
Patches:
bug16058-fix.patch uploaded by jpeeler (license 325)
Tested by: atis
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@243244 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'codecs/codec_a_mu.c')
0 files changed, 0 insertions, 0 deletions