mpegtsdemux: fix section_data leak
authorNicolas Huet <nicolas.huet@parrot.com>
Thu, 12 Nov 2015 15:35:12 +0000 (16:35 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 13 Nov 2015 08:37:53 +0000 (09:37 +0100)
commitd65d8657e64a387a87cdeb96e1b64fb640281166
treef100706d89bbf398665ad02872a96f17ce729615
parent6eae0c7e189f69c71cc3b0cf00e4fcdec172a13e
mpegtsdemux: fix section_data leak

If packet->payload_unit_start_indicator is true and pointer 0, there is no
discontinuity check. Therefore there could be a previous section not complete
that need to be cleared.

https://bugzilla.gnome.org/show_bug.cgi?id=758010
gst/mpegtsdemux/mpegtspacketizer.c