diff options
author | Andreas Cadhalpun <[email protected]> | 2017-01-31 01:55:44 +0100 |
---|---|---|
committer | Andreas Cadhalpun <[email protected]> | 2017-02-01 02:28:56 +0100 |
commit | 1a168061da70e622d20d0cd96c99e5f741fd4f03 (patch) | |
tree | 0904c6dbcc74910e4603a0d73eafb53c3dfcd39f /libavcodec/libschroedinger.c | |
parent | 76961f4f42d28c7b4197c2cbef8bae3dc7b67379 (diff) |
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 <[email protected]>
Signed-off-by: Andreas Cadhalpun <[email protected]>
(cherry picked from commit 842e98b4d83d8cf297e2bc2761f1f47eb89e49e4)
Signed-off-by: Andreas Cadhalpun <[email protected]>
Diffstat (limited to 'libavcodec/libschroedinger.c')
0 files changed, 0 insertions, 0 deletions