mirror of
https://github.com/reactos/reactos.git
synced 2026-05-25 00:30:10 +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.