mirror of https://github.com/FFmpeg/FFmpeg.git
This prevents certain tags with a default value assigned to them (as per the EBML syntax elements) from ever being assigned a NULL value. Other parts of the code rely on these being non-NULL (i.e. they don't check for NULL before e.g. using the string in strcmp() or similar), and thus in effect this prevents crashes when reading of such specific tags fails, either because of low memory or because of targeted file corruption. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.orgpull/3/merge
parent
03ca0a5b30
commit
cd40c31ee9
1 changed files with 8 additions and 5 deletions
Loading…
Reference in new issue