diff options
author | Michael Schenk <michael.schenk@albis-elcon.com> | 2016-11-25 11:36:20 +0300 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-11-30 03:15:38 +0300 |
commit | 18b94669372d3d4b6c51e347587ea64acef9dbb8 (patch) | |
tree | 15a9c2d1ef0bfdf6fda051e05a49e8e8879581ca /libavformat/avidec.c | |
parent | 2475858889cde6221677473b663df6f985add33d (diff) |
matroskadec: prevent access of elements after freeing
Using the decode interrupt feature of ffmpeg may cause crashes by
accessing previously freed pointers in matroska_read_close.
To prevent this reset nb_elem to zero after freeing the elements,
because ffmpeg normally tests for nb_elem.
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavformat/avidec.c')
0 files changed, 0 insertions, 0 deletions