You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/exr: fix null pointer dereference
Fixes CID1108582 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -562,7 +562,7 @@ static int huf_uncompress(GetByteContext *gb,
|
||||
|
||||
fail:
|
||||
for (i = 0; i < HUF_DECSIZE; i++) {
|
||||
if (hdec[i].p)
|
||||
if (hdec)
|
||||
av_freep(&hdec[i].p);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user