reactos
reactos copied to clipboard
[NTOS:EX] Fix BufferSize parameter validation in NtCreateProfile.
Purpose
This fixes NtCreateProfile BufferSize
validation (see https://www.geoffchappell.com/studies/windows/km/ntoskrnl/api/ex/profile/bugdemo.htm for the bug description).
It also adds parameter validation tests for NtCreateProfile, and a basic test for a complete profile.
JIRA issue: CORE-17907