mirror of
https://github.com/reactos/reactos.git
synced 2024-09-30 22:47:28 +00:00
- Use volatile with PagesLocked and MdlAddress. Fixes bug #3674.
- For safety may have to declare all variable used in except this way. svn path=/trunk/; revision=38077
This commit is contained in:
parent
5e305bbdf6
commit
1605d036fe
|
@ -65,9 +65,9 @@ MiDoMappedCopy(IN PEPROCESS SourceProcess,
|
||||||
PMDL Mdl = (PMDL)MdlBuffer;
|
PMDL Mdl = (PMDL)MdlBuffer;
|
||||||
SIZE_T TotalSize, CurrentSize, RemainingSize;
|
SIZE_T TotalSize, CurrentSize, RemainingSize;
|
||||||
volatile BOOLEAN FailedInProbe = FALSE, FailedInMapping = FALSE, FailedInMoving;
|
volatile BOOLEAN FailedInProbe = FALSE, FailedInMapping = FALSE, FailedInMoving;
|
||||||
BOOLEAN PagesLocked;
|
volatile BOOLEAN PagesLocked;
|
||||||
PVOID CurrentAddress = SourceAddress, CurrentTargetAddress = TargetAddress;
|
PVOID CurrentAddress = SourceAddress, CurrentTargetAddress = TargetAddress;
|
||||||
PVOID MdlAddress;
|
volatile PVOID MdlAddress;
|
||||||
KAPC_STATE ApcState;
|
KAPC_STATE ApcState;
|
||||||
BOOLEAN HaveBadAddress;
|
BOOLEAN HaveBadAddress;
|
||||||
ULONG_PTR BadAddress;
|
ULONG_PTR BadAddress;
|
||||||
|
|
Loading…
Reference in a new issue