mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 09:50:02 +00:00
Open the DLL files as FILE_SHARE_READ to prevent sharing violations.
svn path=/trunk/; revision=12907
This commit is contained in:
parent
6947ecd976
commit
aeaad43c1d
1 changed files with 1 additions and 1 deletions
|
@ -618,7 +618,7 @@ LdrpMapDllImageFile(IN PWSTR SearchPath OPTIONAL,
|
||||||
GENERIC_READ|SYNCHRONIZE,
|
GENERIC_READ|SYNCHRONIZE,
|
||||||
&FileObjectAttributes,
|
&FileObjectAttributes,
|
||||||
&IoStatusBlock,
|
&IoStatusBlock,
|
||||||
0,
|
FILE_SHARE_READ,
|
||||||
FILE_SYNCHRONOUS_IO_NONALERT);
|
FILE_SYNCHRONOUS_IO_NONALERT);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue