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>release/7.1
parent
c0532f5579
commit
cb9752d897
1 changed files with 2 additions and 1 deletions
Loading…
Reference in new issue