aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice
diff options
context:
space:
mode:
authorPaul Arzelier <paul.arzelier@free.fr>2023-05-30 23:21:36 +0200
committerJames Almer <jamrial@gmail.com>2023-05-30 18:26:32 -0300
commita9042db1d30483639b3ca610b74a7d43f29ea1a9 (patch)
treeeec523be748d7a8db71ec5efe464616f4f9230d1 /libavdevice
parent4d9afbeef522726beb1ef50689009dd88f195d3a (diff)
downloadffmpeg-a9042db1d30483639b3ca610b74a7d43f29ea1a9.tar.gz
avformat/oggparseflac: check init_get_bits' result
Check init_get_bits' result for NULL, to avoid dereferencing a NULL pointer later (CWE-476). Without this, a segfault happens when trying to decode a handcrafted ogg-flac file with an absurdly long (e.g. 268435455 bytes) ogg header. Co-authored-by: James Almer <jamrial@gmail.com> Signed-off-by: Paul Arzelier <paul.arzelier@free.fr>
Diffstat (limited to 'libavdevice')
0 files changed, 0 insertions, 0 deletions