mirror of https://github.com/mpv-player/mpv
d26ee98fa6
Windows applications that use LoadLibrary are vulnerable to DLL preloading attacks if a malicious DLL with the same name as a system DLL is placed in the current directory. mpv had some code to avoid this in ao_wasapi.c. This commit just moves it to main.c, since there's no reason it can't be used process-wide. This change can affect how plugins are loaded in AviSynth, but it shouldn't be a problem since MPC-HC also does this and it's a very popular AviSynth client. |
||
---|---|---|
.. | ||
lua | ||
timeline | ||
audio.c | ||
command.c | ||
command.h | ||
configfiles.c | ||
core.h | ||
dvdnav.c | ||
loadfile.c | ||
lua.c | ||
lua.h | ||
main.c | ||
misc.c | ||
osd.c | ||
playloop.c | ||
screenshot.c | ||
screenshot.h | ||
sub.c | ||
video.c |