6 Jan
2026
6 Jan
'26
10:23 p.m.
``` qasf: Fix use-after-free of asf reader in reader callback. If a asf reader callback is invoked after its corresponding reader has been destroyed, it will still try to use the reader via asf_callback->filter, resulting in use-after-free. This commits sets asf_callback->filter to NULL when the reader is destroyed, and adds NULL checks to reader callback functions to make them no-op after the reader is destroyed. ``` It doesn't sound right that wmvcore is invoking callbacks after (or while) the wmv object is destroyed. Are we sure that's supposed to happen? ``` Fixes: Bug 59159 ``` That's not how we write that. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9858#note_126476