qtdemux: Fix out of bounds read in tag parsing code
authorSebastian Dröge <sebastian@centricular.com>
Thu, 1 Dec 2016 11:32:22 +0000 (13:32 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 1 Dec 2016 11:32:22 +0000 (13:32 +0200)
commitd0949baf3dadea6021d54abef6802fed5a06af75
tree40fe296b2a707a1137f9986472bd40605d9bc454
parent50e7096a86ea120ca4b5b42294a8d80433803cc6
qtdemux: Fix out of bounds read in tag parsing code

We can't simply assume that the length of the tag value as given
inside the stream is correct but should also check against the amount of
data we have actually available.

https://bugzilla.gnome.org/show_bug.cgi?id=775451
gst/isomp4/qtdemux.c