Delay load Version.dll to avoid dll hijacking [bug #1125]
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6642 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
0b5b7fad0e
commit
6be5d8d07d
5 changed files with 20 additions and 11 deletions
|
@ -108,8 +108,9 @@ EXTERN_C void NSISWinMainNOCRT()
|
|||
// Note: We also import directly from KERNEL32, ADVAPI32 and SHELL32 so they
|
||||
// are exempt from this requirement and SHELL32 imports from SHLWAPI on
|
||||
// WoW64 systems and it is also on the KnownDLLs list so
|
||||
// SHLWAPI also gets a pass and that just leaves SHFOLDER.
|
||||
g_SHGetFolderPath = myGetProcAddress(MGA_SHGetFolderPath);
|
||||
// SHLWAPI also gets a pass and that just leaves
|
||||
myGetProcAddress(MGA_GetFileVersionInfo); // VERSION
|
||||
g_SHGetFolderPath = myGetProcAddress(MGA_SHGetFolderPath); // and SHFOLDER
|
||||
|
||||
{
|
||||
// workaround for bug #1008632
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue