Skip to content
Snippets Groups Projects

win32: only load system DLL's from %windows%\system32

Merged Steve Lhomme requested to merge robUx4/vlc:load_system32 into master

Similar to ba108368 for the other system DLL's.

The SetDefaultDllDirectories(LOAD_LIBRARY_SEARCH_SYSTEM32); call still allows DLL's from the VLC or app folder. But these system DLL's should only come from the system.

We don't need wide char names for ASCII DLL names. LoadLibraryExA/LoadLibraryExW are equally available on Windows and UWP (since 19H1).

The DXVA/D3D9/DMO have not been patched as they should not use LoadLibrary anymore.

Edited by Steve Lhomme

Merge request reports

Merge request pipeline #562489 passed

Merge request pipeline passed for a926c055

Test coverage 17.72% from 1 job
Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading