https://git.reactos.org/?p=reactos.git;a=commitdiff;h=b46173edaff285e3c4140…
commit b46173edaff285e3c414070eb1d1655f2873d998
Author: Jérôme Gardou <jerome.gardou(a)reactos.org>
AuthorDate: Wed Nov 18 10:29:17 2020 +0100
Commit: Jérôme Gardou <jerome.gardou(a)reactos.org>
CommitDate: Wed Feb 3 09:41:22 2021 +0100
[NTOS/MM] DO not assert when being passed invalid parameters in MmCreateSection
---
ntoskrnl/mm/section.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/ntoskrnl/mm/section.c b/ntoskrnl/mm/section.c
index 39ae8bf75f5..6c521522f4f 100644
--- a/ntoskrnl/mm/section.c
+++ b/ntoskrnl/mm/section.c
@@ -4358,7 +4358,6 @@ MmCreateSection (OUT PVOID * Section,
else
{
/* All cases should be handled above */
- ASSERT(FALSE);
Status = STATUS_INVALID_PARAMETER;
if (FileObject)
ObDereferenceObject(FileObject);