26 Mar
2025
26 Mar
'25
10:35 a.m.
Zhiyi Zhang (@zhiyi) commented about dlls/kernelbase/file.c:
TRACE( "%s\n", debugstr_w(path) );
+ if (path && !is_longpath_enabled() && wcsncmp(path, L"\\\\?\\", 4) && wcslen(path) >= MAX_PATH )
Do you really need to check if path is NULL? I don't see tests regarding this condition. If you do, the error should probably be ERROR_INVALID_PARAMETER. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7540#note_99120