Skip to content
Snippets Groups Projects
Commit f5070bd2 authored by Alaric Senat's avatar Alaric Senat
Browse files

demux: ps: always clean the track format

Conditionally cleaning the track format leads to leaks on ill-formed ps
packets. Usually when a track started allocating fmt metadata and the
input has an unexpected EOF.

The format is always zero initialized so we can count on es_format_Clean
not to double free.

Fixes https://issues.oss-fuzz.com/issues/42503008
Fixes #29013

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/vlc
parent 687f2080
No related branches found
No related tags found
No related merge requests found
Pipeline #563100 passed with stage
in 17 minutes and 12 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment