diff options
author | Joshua Colp <jcolp@digium.com> | 2013-11-22 17:12:29 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2013-11-22 17:12:29 +0000 |
commit | 2147e3930380b599a0cdab6a8533f0b3d39d0091 (patch) | |
tree | de6dca0818c29f76d548cd3bdc407cd403ce1e08 /contrib/valgrind-RedHat-8.0.supp | |
parent | 18c2cfa7b7465e5f8728eb1c996db7c00547dfe8 (diff) |
translate: Move freeing of frame to after it is used.
When translating from one format to another it is possible
to inform the translation function that the source frame should
be freed. This was previously done immediately but shortly
afterwards the frame that was freed was accessed and used again.
This change moves code around a bit so that the frame is now
freed after it has been completely used.
(closes issue ASTERISK-22788)
Reported by: Corey Farrell
Patches:
translate-access-after-free-11up.patch uploaded by coreyfarrell (license 5909)
translate-access-after-free-1.8.patch uploaded by coreyfarrell (license 5909)
........
Merged revisions 403014 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 403015 from http://svn.asterisk.org/svn/asterisk/branches/11
........
Merged revisions 403016 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@403017 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'contrib/valgrind-RedHat-8.0.supp')
0 files changed, 0 insertions, 0 deletions