diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2024-02-27 02:07:28 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2024-04-01 19:03:06 +0200 |
commit | cb9752d897de17212a7a3ce54ad3e16b377b22c0 (patch) | |
tree | a9b50599c4b7e23e1d7b5d8dabad6809c2f1a5b4 /libavcodec/vvc | |
parent | c0532f5579dcca4ad1d4c8db2068be7554c7cb63 (diff) | |
download | ffmpeg-cb9752d897de17212a7a3ce54ad3e16b377b22c0.tar.gz |
avformat/mpegts: Reset local nb_prg on add_program() failure
add_program() will deallocate the whole array on failure so
we must clear nb_prgs
Fixes: null pointer dereference
Fixes: crash-35a3b39ddcc5babeeb005b7399a3a1217c8781bc
Found-by: Catena cyber
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/vvc')
0 files changed, 0 insertions, 0 deletions