Commit 02174790 authored byBrowse files
matroskademux: Initialize track context out parameter to NULL before parsing
Various error return paths don't set it to NULL and callers are only checking if the pointer is NULL. As it's allocated on the stack this usually contains random stack memory, and more often than not the memory of a previously parsed track. This then causes all kinds of memory corruptions further down the line. Thanks to Natalie Silvanovich for reporting. Fixes #858 Part-of: <!903>
This commit is part of merge request !903. Comments created here will be created in the context of that merge request.
Showing with 2 additions and 0 deletions