mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +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:
@@ -65,9 +65,9 @@ MiDoMappedCopy(IN PEPROCESS SourceProcess,
|
||||
PMDL Mdl = (PMDL)MdlBuffer;
|
||||
SIZE_T TotalSize, CurrentSize, RemainingSize;
|
||||
volatile BOOLEAN FailedInProbe = FALSE, FailedInMapping = FALSE, FailedInMoving;
|
||||
BOOLEAN PagesLocked;
|
||||
volatile BOOLEAN PagesLocked;
|
||||
PVOID CurrentAddress = SourceAddress, CurrentTargetAddress = TargetAddress;
|
||||
PVOID MdlAddress;
|
||||
volatile PVOID MdlAddress;
|
||||
KAPC_STATE ApcState;
|
||||
BOOLEAN HaveBadAddress;
|
||||
ULONG_PTR BadAddress;
|
||||
|
||||
Reference in New Issue
Block a user