[PATCH] ntdll: Don't append directory entries if the filename length is less than 1.

Alexandre Julliard julliard at winehq.org
Thu Oct 30 06:08:03 CDT 2008


"Lei Zhang" <thestig at google.com> writes:

> I saw the following in a +file trace a user sent me:
>
> trace:file:FindNextFileW returning L"" (L"")
>
> I tried fixing FindNextFileW(), but that patch didn't get accepted.
> I'm guessing we should fix the problem in NtQueryDirectoryFile() so
> nobody who call it will get back an empty file name.

This should never happen. You should figure out where the empty name
comes from and fix the caller.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list