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-04 20:34:51 +0100 |
commit | 24d20496d2e6e1df6456c5231d892269dd1fcf38 (patch) | |
tree | 12173ada798c55bdb4629b2bc3e16809c6c0aef5 /tests/ref/vsynth1/yuv | |
parent | 8a4ea9644833d43fdfe8579c0cb569f8a0930206 (diff) | |
download | ffmpeg-24d20496d2e6e1df6456c5231d892269dd1fcf38.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>
Diffstat (limited to 'tests/ref/vsynth1/yuv')
0 files changed, 0 insertions, 0 deletions