aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mips/hevcdsp_init_mips.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2017-01-31 01:55:44 +0100
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2017-02-01 02:28:36 +0100
commitf77bb85b08dea6bdde091c8570aa5b12987f7f8c (patch)
treee1f78551e2bc4d54a328d9dfd6cfc197fd4b9f29 /libavcodec/mips/hevcdsp_init_mips.c
parent6c96200ceb0fbf736ad5080e46779888521a687f (diff)
downloadffmpeg-f77bb85b08dea6bdde091c8570aa5b12987f7f8c.tar.gz
pgssubdec: reset rle_data_len/rle_remaining_len on allocation error
The code relies on their validity and otherwise can try to access a NULL object->rle pointer, causing segmentation faults. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> (cherry picked from commit 842e98b4d83d8cf297e2bc2761f1f47eb89e49e4) Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavcodec/mips/hevcdsp_init_mips.c')
0 files changed, 0 insertions, 0 deletions