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.1
parent
93d6513bbe
commit
2da196b39a
1 changed files with 2 additions and 1 deletions
Loading…
Reference in new issue