mirror of
https://github.com/reactos/reactos.git
synced 2026-09-10 19:33:09 +08:00
Probe the data before allocating a copy buffer. Otherwise NtSetValueKey returns an unexpected status code in case of too large data size. This fixes the NtSetValueKey ntdll api tests.