glib/gio/win32
Tor Lillqvist 6ddef375c8 Recuce DLL hijack risk on Windows
Don't call LoadLibrary() on shell32.dll or kernel32.dll. kernel32.dll
is always loaded. Shell32.dll is also already loaded as glib links to
functions in it. So just call GetModuleHandle() on them.

For mlang.dll in win_iconv.c and winhttp.dll in gwinhttpvfs.c, always
try loading them from a complete path, from the Windows system
directory.

Use the "tool help" API to enumerate modules in gmodule-win32.c. It is
present in all Windows versions since Windows 2000, which is all we
support anyway. Thus no need to look that API up dynamically. Just
link to it normally. We can bin the fallback code that attempts to use
the psapi API.
2010-09-02 22:36:47 +03:00
..
gwin32directorymonitor.c Fix gio/win32 build after -I flag changes 2010-08-10 16:01:39 +03:00
gwin32directorymonitor.h Fix gio/win32 build after -I flag changes 2010-08-10 16:01:39 +03:00
gwinhttpfile.c Fix gio/win32 build after -I flag changes 2010-08-10 16:01:39 +03:00
gwinhttpfile.h win32/gwinhttpvfs.c win32/gwinhttpvfs.h win32/gwinhttpfile.c 2008-08-12 23:09:04 +00:00
gwinhttpfileinputstream.c Fix gio/win32 build after -I flag changes 2010-08-10 16:01:39 +03:00
gwinhttpfileinputstream.h win32/gwinhttpvfs.c win32/gwinhttpvfs.h win32/gwinhttpfile.c 2008-08-12 23:09:04 +00:00
gwinhttpfileoutputstream.c Fix gio/win32 build after -I flag changes 2010-08-10 16:01:39 +03:00
gwinhttpfileoutputstream.h win32/gwinhttpvfs.c win32/gwinhttpvfs.h win32/gwinhttpfile.c 2008-08-12 23:09:04 +00:00
gwinhttpvfs.c Recuce DLL hijack risk on Windows 2010-09-02 22:36:47 +03:00
gwinhttpvfs.h Fix gio/win32 build after -I flag changes 2010-08-10 16:01:39 +03:00
Makefile.am Replace -I with $(glib_INCLUDES) and friends 2010-08-06 13:10:34 -04:00
makefile.msc Updated msvc build files 2009-05-30 15:29:23 +02:00
winhttp.h win32/gwinhttpvfs.c win32/gwinhttpvfs.h win32/gwinhttpfile.c 2008-08-13 19:39:49 +00:00