gstreamer/ext/fdkaac
Vincent Penquerc'h ce59031b10 fdkaacenc: fix accessing freed memory
The buffer data is not always copied in _Fill, and will be
read in _DecodeFrame. We unmap at the end of the function,
whether we get there via failure or early out, and keep a
ref to the buffer to ensure we can use it to unmap the
memory even after _finish_frame is called, as it unrefs
the buffer.

Note that there is an access beyond the allocated buffer,
which is only apparent when playing from souphttpsrc (ie,
not from filesrc). This appears to be a bug in the bit
reading code in libfdkaac AFAICT.

https://bugzilla.gnome.org/show_bug.cgi?id=772186
2016-09-29 15:13:07 +01:00
..
gstfdkaacdec.c fdkaacenc: fix accessing freed memory 2016-09-29 15:13:07 +01:00
gstfdkaacdec.h fdkaacdec: avoid memory corruption on decoding error 2016-09-29 15:13:07 +01:00
gstfdkaacenc.c fdkaacenc: set framed=true on src caps 2016-09-28 10:04:24 +01:00
gstfdkaacenc.h fdkaac: Add FDK AAC based encoder element 2016-08-07 15:41:04 +03:00
Makefile.am fdkaac: Add FDK AAC based decoder element 2016-08-07 15:42:15 +03:00
plugin.c fdkaac: Add FDK AAC based decoder element 2016-08-07 15:42:15 +03:00