ntdll: Set correct MaximumLength when current directory path is longer than MAX_PATH.
Calls to CreateProcessW
where the current directory is a path that exceeds MAX_PATH
can result in Length
exceeding MaximumLength
, causing corruption in alloc_process_params
when append_unicode_string
copies the string according to Length
, but only allocates MaximumLength
of storage.