diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2011-06-28 22:24:21 -0700 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-07-06 10:11:02 +0200 |
commit | 7fbcf1df03db848618f64658f7027d87739d8b3b (patch) | |
tree | 1e919b4ee50fc6cc4d5b3bc3dab5840d59f0f2c1 /libavfilter/avfiltergraph.h | |
parent | 3097309cba69a891c06aec3ccf4095a83eb38da2 (diff) | |
download | ffmpeg-7fbcf1df03db848618f64658f7027d87739d8b3b.tar.gz |
ogg: fix double free when finding length of small chained oggs.
ogg_save() copies streams[], but doesn't keep track of free()'ed
struct members. Thus, if in between a call to ogg_save() and
ogg_restore(), streams[].private was free()'ed, this would result
in a double free -> crash, which happened when e.g. playing small
chained ogg fragments.
(cherry picked from commit 9ed6cbc3ee2ae3e7472fb25192a7e36fd7b15533)
Diffstat (limited to 'libavfilter/avfiltergraph.h')
0 files changed, 0 insertions, 0 deletions