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>
Loading
Please register or sign in to comment