glib/gmodule
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
..
.gitignore improve gitignore 2010-01-28 22:43:51 -05:00
AUTHORS initial import of gmodule. 1998-08-09 08:32:18 +00:00
ChangeLog Update README files to refer to git 2009-03-31 19:39:16 -04:00
COPYING initial import of gmodule. 1998-08-09 08:32:18 +00:00
gmodule-ar.c Make header include order consistent (#71704, Diego Escalante Urrelo) 2007-11-08 03:43:46 +00:00
gmodule-beos.c Make header include order consistent (#71704, Diego Escalante Urrelo) 2007-11-08 03:43:46 +00:00
gmodule-dl.c Make header include order consistent (#71704, Diego Escalante Urrelo) 2007-11-08 03:43:46 +00:00
gmodule-dld.c Make header include order consistent (#71704, Diego Escalante Urrelo) 2007-11-08 03:43:46 +00:00
gmodule-dyld.c Make header include order consistent (#71704, Diego Escalante Urrelo) 2007-11-08 03:43:46 +00:00
gmodule-os2.c Make header include order consistent (#71704, Diego Escalante Urrelo) 2007-11-08 03:43:46 +00:00
gmodule-win32.c Recuce DLL hijack risk on Windows 2010-09-02 22:36:47 +03:00
gmodule.c Fix an include order problem 2009-03-02 03:56:31 +00:00
gmodule.h Makefile.am gmodule.def Win32 DLL ABI stability cruft like in ../glib. 2004-12-06 15:45:25 +00:00
gmodule.rc.in Update copyright years 2010-02-04 00:12:50 +02:00
gmodule.symbols New file. 2008-07-27 17:35:46 +00:00
gmoduleconf.h.in Set the gmodule suffix to 'a' for aix and use the aix gmodule 2004-02-22 01:31:24 +00:00
gmoduleconf.h.win32 Update. Don't mention pthreads. 2001-09-04 05:09:35 +00:00
Makefile.am Replace -I with $(glib_INCLUDES) and friends 2010-08-06 13:10:34 -04:00
makefile.msc.in adapt to gmodule.symbols usage 2008-08-01 14:17:43 +00:00