summaryrefslogtreecommitdiffstats
path: root/osdep/glob-win.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-08-21 17:34:27 +0200
committerwm4 <wm4@nowhere>2017-08-21 17:47:00 +0200
commitd431111b0647278d2bc234e9e6551c0b7e6c2b6f (patch)
treeef0f99cfd4df7b87af48599a08e1673e7182766a /osdep/glob-win.c
parentb21e0746f6ac0cd2e6faf7590e3aad53b0437d0f (diff)
downloadmpv-d431111b0647278d2bc234e9e6551c0b7e6c2b6f.tar.bz2
mpv-d431111b0647278d2bc234e9e6551c0b7e6c2b6f.tar.xz
win32: fix massive memory corruption
The struct m_thread_info pointer is part of an array, that will be reallocated if another thread is created while the run_thread is just being called. In previous versions of this code, the pointer was stable (as long as the thread existed), so this was overlooked. Fixes #4770. I'm not sure why this triggers it so reliably, while it remained undetected otherwise.
Diffstat (limited to 'osdep/glob-win.c')
0 files changed, 0 insertions, 0 deletions