typefindfunctions: Make sure that enough data is available in AAC/ADTS typefinder
authorSebastian Dröge <sebastian@centricular.com>
Mon, 28 Dec 2015 10:28:26 +0000 (12:28 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 28 Dec 2015 11:51:02 +0000 (13:51 +0200)
commit0416f121f240d14e4411ab2ad808e544fcc7fdd3
tree86e9c61c4db11eda47496e1af484e5cd3c26b694
parent267e7ba1d9b5cb7bb205baa6f0a0d1757f621726
typefindfunctions: Make sure that enough data is available in AAC/ADTS typefinder

We would otherwise read beyond the array bounds and crash every now and then.
This was introduced with 5640ba17c8db80976b7718904e4024dcfe9ee1a0.

https://bugzilla.gnome.org/show_bug.cgi?id=759910
gst/typefind/gsttypefindfunctions.c