[NTOS/MM] DO not assert when being passed invalid parameters in MmCreateSection

This commit is contained in:
Jérôme Gardou 2020-11-18 10:29:17 +01:00
parent ba49c39041
commit b46173edaf

View file

@ -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);