GNOME Bugzilla – Bug 758010
mpegtsdemux: stream->section_data leak if there is a stream discontinuity
Last modified: 2015-11-13 08:39:11 UTC
Created attachment 315346 [details] [review] patch removing the 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. I have attached a patch that fix the issue. In the function mpegts_packetizer_stream_free, I have also removed the free on section_data which is already done in mpegts_packetizer_clear_section
commit d65d8657e64a387a87cdeb96e1b64fb640281166 Author: Nicolas Huet <nicolas.huet@parrot.com> Date: Thu Nov 12 16:35:12 2015 +0100 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