March 25, 2026
8:59 a.m.
Akihiro Sagawa (@sgwaki) commented about dlls/kernelbase/file.c:
return 0; }
+ /* Handle \\?\ prefix (Extended Length Path) */ + if (shortpath[0] == '\\' && shortpath[1] == '\\' && shortpath[2] == '?' && + shortpath[3] == '\\') {
At this point, we haven't yet confirmed that `shortpath` has at least four characters, so its length should be checked before comparison. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10192#note_133722