Author: dchapyshev
Date: Sat Sep 24 09:34:09 2016
New Revision: 72788
URL:
http://svn.reactos.org/svn/reactos?rev=72788&view=rev
Log:
[NTOSKRNL] Add missed _SEH2_YIELD's
Modified:
trunk/reactos/ntoskrnl/kd64/amd64/kdx64.c
trunk/reactos/ntoskrnl/ke/amd64/except.c
trunk/reactos/ntoskrnl/lpc/send.c
trunk/reactos/ntoskrnl/se/audit.c
trunk/reactos/ntoskrnl/se/sd.c
Modified: trunk/reactos/ntoskrnl/kd64/amd64/kdx64.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/kd64/amd64/kdx64.…
==============================================================================
--- trunk/reactos/ntoskrnl/kd64/amd64/kdx64.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/kd64/amd64/kdx64.c [iso-8859-1] Sat Sep 24 09:34:09 2016
@@ -105,7 +105,7 @@
{
_SEH2_YIELD(return STATUS_NO_SUCH_DEVICE);
}
- _SEH2_END
+ _SEH2_END;
return STATUS_SUCCESS;
}
@@ -124,7 +124,7 @@
{
_SEH2_YIELD(return STATUS_NO_SUCH_DEVICE);
}
- _SEH2_END
+ _SEH2_END;
return STATUS_SUCCESS;
}
Modified: trunk/reactos/ntoskrnl/ke/amd64/except.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/amd64/except.c…
==============================================================================
--- trunk/reactos/ntoskrnl/ke/amd64/except.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ke/amd64/except.c [iso-8859-1] Sat Sep 24 09:34:09 2016
@@ -229,7 +229,7 @@
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
{
}
- _SEH2_END
+ _SEH2_END;
}
VOID
Modified: trunk/reactos/ntoskrnl/lpc/send.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/lpc/send.c?rev=72…
==============================================================================
--- trunk/reactos/ntoskrnl/lpc/send.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/lpc/send.c [iso-8859-1] Sat Sep 24 09:34:09 2016
@@ -746,7 +746,7 @@
if (!NT_SUCCESS(Status))
{
DPRINT1("LpcpVerifyMessageDataInfo failed\n");
- return Status;
+ _SEH2_YIELD(return Status);
}
}
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
@@ -861,7 +861,7 @@
ObDereferenceObject(Port);
DPRINT1("NumberOfEntries has changed: %u, %u\n",
DataInfo->NumberOfEntries, NumberOfDataEntries);
- return STATUS_INVALID_PARAMETER;
+ _SEH2_YIELD(return STATUS_INVALID_PARAMETER);
}
}
Modified: trunk/reactos/ntoskrnl/se/audit.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/se/audit.c?rev=72…
==============================================================================
--- trunk/reactos/ntoskrnl/se/audit.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/se/audit.c [iso-8859-1] Sat Sep 24 09:34:09 2016
@@ -1101,7 +1101,7 @@
if (PrivilegeCount > SEP_PRIVILEGE_SET_MAX_COUNT)
{
Status = STATUS_INVALID_PARAMETER;
- goto Cleanup;
+ _SEH2_YIELD(goto Cleanup);
}
/* Calculate the size of the PrivilegeSet structure */
@@ -1118,7 +1118,7 @@
{
DPRINT1("Failed to allocate %u bytes\n", PrivilegeSetSize);
Status = STATUS_INSUFFICIENT_RESOURCES;
- goto Cleanup;
+ _SEH2_YIELD(goto Cleanup);
}
/* Copy the privileges */
@@ -1324,7 +1324,7 @@
if (PrivilegeCount > SEP_PRIVILEGE_SET_MAX_COUNT)
{
Status = STATUS_INVALID_PARAMETER;
- goto Cleanup;
+ _SEH2_YIELD(goto Cleanup);
}
/* Calculate the size of the Privileges structure */
@@ -1341,7 +1341,7 @@
{
DPRINT1("Failed to allocate %u bytes\n", PrivilegesSize);
Status = STATUS_INSUFFICIENT_RESOURCES;
- goto Cleanup;
+ _SEH2_YIELD(goto Cleanup);
}
/* Copy the privileges */
Modified: trunk/reactos/ntoskrnl/se/sd.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/se/sd.c?rev=72788…
==============================================================================
--- trunk/reactos/ntoskrnl/se/sd.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/se/sd.c [iso-8859-1] Sat Sep 24 09:34:09 2016
@@ -528,7 +528,7 @@
{
_SEH2_YIELD(return _SEH2_GetExceptionCode());
}
- _SEH2_END
+ _SEH2_END;
/*
* Allocate enough memory to store a complete copy of a self-relative