summaryrefslogtreecommitdiff
path: root/formats
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2009-09-01 20:44:13 +0000
committerRussell Bryant <russell@russellbryant.com>2009-09-01 20:44:13 +0000
commit078b0b0eff3dcd24c93c22ff59b151b767c7d06b (patch)
treeb4b943a0f2363afb2439f34e7d1fdc55a8f4e989 /formats
parentcf0076c5f3e29a2ceb9fec526081de8574d3195e (diff)
Fix memory corruption caused by format_mp3.
format_mp3 claimed that it provided AST_FRIENDLY_OFFSET in frames returned by read(). However, it lied. This means that other parts of the code that attempted to make use of the offset buffer would end up corrupting the fields in the ast_filestream structure. This resulted in quite a few crashes due to unexpected values for fields in ast_filestream. This patch closes out quite a few bugs. However, some of these bugs have been open for a while and have been an area where more than one bug has been discussed. So with that said, anyone that is following one of the issues closed here, if you still have a problem, please open a new bug report for the specific problem you are still having. If you do, please ensure that the bug report is based on the newest version of Asterisk, and that this patch is applied if format_mp3 is in use. Thanks! (closes issue #15109) Reported by: jvandal Tested by: aragon, russell, zerohalo, marhbere, rgj (closes issue #14958) Reported by: aragon (closes issue #15123) Reported by: axisinternet (closes issue #15041) Reported by: maxnuv (closes issue #15396) Reported by: aragon (closes issue #15195) Reported by: amorsen Tested by: amorsen (closes issue #15781) Reported by: jensvb (closes issue #15735) Reported by: thom4fun (closes issue #15460) Reported by: marhbere git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@215212 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'formats')
0 files changed, 0 insertions, 0 deletions