diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-11-04 19:00:01 +0100 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-11-17 23:13:05 +0100 |
commit | b9a24cee3ba0c0b27a41d71cde5f002296d10e86 (patch) | |
tree | b61c892d683c25008a98c0f6e37f75f6d0fe8bab /libavformat/vqf.c | |
parent | 08b1fd6afb3d96d21822ce16bb7112af5481e4b8 (diff) | |
download | ffmpeg-b9a24cee3ba0c0b27a41d71cde5f002296d10e86.tar.gz |
diracdec: clear slice_params_num_buf on allocation failure
Otherwise it can be non-zero next time decode_lowdelay is called, causing
slice_params_buf not to be allocated, leading to a NULL pointer dereference.
The problem was introduced in commit
dcad4677d637cd2f701917e38361fa96b8c9a418.
Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
(cherry picked from commit 24d20496d2e6e1df6456c5231d892269dd1fcf38)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavformat/vqf.c')
0 files changed, 0 insertions, 0 deletions