mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 22:32:58 +00:00
[NTOSKRNL]
Fix MSVC build? svn path=/trunk/; revision=68900
This commit is contained in:
parent
82cc4faad5
commit
aafd9216cf
1 changed files with 3 additions and 3 deletions
|
@ -227,7 +227,7 @@ KdpPrompt(IN LPSTR PromptString,
|
||||||
{
|
{
|
||||||
ProbeForRead(PromptString, PromptLength, 1);
|
ProbeForRead(PromptString, PromptLength, 1);
|
||||||
CapturedPrompt = alloca(512);
|
CapturedPrompt = alloca(512);
|
||||||
KdpQuickMoveMemory(CapturedPrompt, PromptString, PromptLength);
|
RtlMoveMemory(CapturedPrompt, PromptString, PromptLength);
|
||||||
PromptString = CapturedPrompt;
|
PromptString = CapturedPrompt;
|
||||||
|
|
||||||
ProbeForWrite(ResponseString, MaximumResponseLength, 1);
|
ProbeForWrite(ResponseString, MaximumResponseLength, 1);
|
||||||
|
@ -274,7 +274,7 @@ KdpPrompt(IN LPSTR PromptString,
|
||||||
{
|
{
|
||||||
_SEH2_TRY
|
_SEH2_TRY
|
||||||
{
|
{
|
||||||
KdpQuickMoveMemory(ResponseString, ResponseBuffer.Buffer, ResponseBuffer.Length);
|
RtlMoveMemory(ResponseString, ResponseBuffer.Buffer, ResponseBuffer.Length);
|
||||||
}
|
}
|
||||||
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
|
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
|
||||||
{
|
{
|
||||||
|
@ -328,7 +328,7 @@ KdpPrint(IN ULONG ComponentId,
|
||||||
{
|
{
|
||||||
ProbeForRead(String, Length, 1);
|
ProbeForRead(String, Length, 1);
|
||||||
CapturedString = alloca(512);
|
CapturedString = alloca(512);
|
||||||
KdpQuickMoveMemory(CapturedString, String, Length);
|
RtlMoveMemory(CapturedString, String, Length);
|
||||||
String = CapturedString;
|
String = CapturedString;
|
||||||
}
|
}
|
||||||
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
|
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue