diff options
author | wm4 <nfxjfg@googlemail.com> | 2017-03-02 19:14:58 +0100 |
---|---|---|
committer | wm4 <nfxjfg@googlemail.com> | 2017-03-03 08:45:43 +0100 |
commit | 16abc10b0997c76cbb0c0ebedc49f6bc21452f9d (patch) | |
tree | 43c277d77fb039523a7f0810cd1e659c976fc528 /libavcodec/pixels.h | |
parent | 7dd44cde2abb156710f26a08b6cd6c8dd9a9793d (diff) | |
download | ffmpeg-16abc10b0997c76cbb0c0ebedc49f6bc21452f9d.tar.gz |
ffmpeg: properly cleanup filter graph on init failure
The filter field is often used to check whether a filter is
configured. If configuring the filter actually fails somewhere in
the middle of it, these fields could still be set to non-NULL, which
lead to other code accessing the half-configured filter graph, which
in turn could lead to crashes within libavfilter.
Solve this by properly resetting all fields.
This was triggered by a fuzzed sample after the recent changes. It's
unknown whether this behavior could be triggered before that.
Diffstat (limited to 'libavcodec/pixels.h')
0 files changed, 0 insertions, 0 deletions