[FFmpeg-devel] matroskadec: prevent access of elements after freeing

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Wed Nov 30 02:17:55 EET 2016


On 28.11.2016 07:40, Schenk, Michael wrote:
> When using the decode interrupt feature of ffmpeg may causing crashes by
> accessing previous freed pointers in matroska_read_close.
> 
> The attached patch will reset nb_elem to zero after freeing the elements
> because ffmpeg normally tests for nb_elem.

Thanks. I've adapted this a bit, used it as the commit message and applied
the patch.

Best regards,
Andreas


More information about the ffmpeg-devel mailing list