diff options
author | Richard Mudgett <rmudgett@digium.com> | 2017-11-14 18:00:55 -0600 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2017-11-15 17:07:07 -0500 |
commit | b7b800b689655fcf9339f08e3d8e388a6d4c154d (patch) | |
tree | 443ee4d367d46242466039bdd48e105da56d29d0 /include/asterisk/autoconfig.h.in | |
parent | aa65be95c08915819b542462b04216981dc69d1a (diff) |
audiohook.c: Fix freeing a frame and still using it.
Memory corruption happened to the media frame caches when an audio hook
freed a frame when it shouldn't. I think the freed frame was because a
jitter buffer interpolated a missing frame and the audio hook
unconditionally freed it.
* Made audiohook.c:audio_audiohook_write_list() not free an interpolated
frame if it is the same frame as what was passed into the routine.
* Made plc.c:normalise_history() use memmove() instead of memcpy() on a
memory block that could overlap. Found by valgrind investigating this
issue.
ASTERISK-27238
ASTERISK-27412
Change-Id: I548d86894281fc4529aefeb9f161f2131ecc6fde
Diffstat (limited to 'include/asterisk/autoconfig.h.in')
0 files changed, 0 insertions, 0 deletions