diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2017-06-04 21:37:47 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-06-05 23:16:54 +0200 |
commit | a20e708352906217bb4a97080c2ca55bb2c145a1 (patch) | |
tree | a0895bde83d94223dd1968c34b04bd217f38dd56 /libavcodec/h264pred_template.c | |
parent | 591a3d263247380ca8fb01238d6676d8a3f05632 (diff) | |
download | ffmpeg-a20e708352906217bb4a97080c2ca55bb2c145a1.tar.gz |
avcodec/qdrw: Fix null pointer dereference
The RGB555 PACKBITSRGN case tries to read a palette, if such
palette is actually stored then it accesses a null pointer.
All 16bit samples i could find use DIRECTBITSRGN.
Fixes: 2065/clusterfuzz-testcase-minimized-6298930457346048
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 46b865ea9f86cbd12e1bf701913263c7932cccb0)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/h264pred_template.c')
0 files changed, 0 insertions, 0 deletions