mirror of
https://github.com/reactos/reactos.git
synced 2025-06-01 07:28:19 +00:00
[SHLWAPI] Fix SHLoadIndirectString executing code when loading a string
This commit is contained in:
parent
922a956805
commit
f2ffd21232
1 changed files with 4 additions and 0 deletions
|
@ -2896,7 +2896,11 @@ HRESULT WINAPI SHLoadIndirectString(LPCWSTR src, LPWSTR dst, UINT dst_len, void
|
|||
index_str++;
|
||||
index = atoiW(index_str);
|
||||
|
||||
#ifdef __REACTOS__
|
||||
hmod = LoadLibraryExW(dllname, NULL, LOAD_LIBRARY_AS_DATAFILE);
|
||||
#else
|
||||
hmod = LoadLibraryW(dllname);
|
||||
#endif
|
||||
if(!hmod) goto end;
|
||||
|
||||
if(index < 0)
|
||||
|
|
Loading…
Reference in a new issue