mirror of https://github.com/FFmpeg/FFmpeg.git
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>
(cherry picked from commit cb9752d897
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
release/6.0
parent
2c06fbfd0d
commit
d0c5329c1b
1 changed files with 2 additions and 1 deletions
Loading…
Reference in new issue