Skip to content

ntdll: Set correct MaximumLength when current directory path is longer than MAX_PATH.

Owen Rudge requested to merge orudge/wine:ntdll-curdir into master

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.

Merge request reports

Loading