[Git][wine/wine][master] dmime: Fix use-after-free after performance_CloseDown.
Alexandre Julliard pushed to branch master at wine / wine Commits: c1a85bc1 by Yuxuan Shui at 2025-08-27T17:02:59+02:00 dmime: Fix use-after-free after performance_CloseDown. IDirectMusicPerformance8 holds references to music ports in channel_blocks. These ports must outlive their parent IDirectMusic, because in synth_port_Release, they remove themselves from their parent. performance_CloseDown releases the IDirectMusic, but doesn't release its ports. So when these ports are later released in performance_Release, they uses the already freed IDirectMusic. Found by ASan. - - - - - 1 changed file: - dlls/dmime/performance.c View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/c1a85bc1eae46cd2029fd8d49f51361... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/c1a85bc1eae46cd2029fd8d49f51361... You're receiving this email because of your account on gitlab.winehq.org.
participants (1)
-
Alexandre Julliard (@julliard)