shell32: Avoid using garbage data in wildcard expansion.
This commit is contained in:
parent
055f8712b4
commit
a051487d3b
|
@ -824,6 +824,8 @@ static void parse_wildcard_files(FILE_LIST *flList, LPWSTR szFile, LPDWORD pdwLi
|
||||||
LPWSTR szFullPath;
|
LPWSTR szFullPath;
|
||||||
BOOL res;
|
BOOL res;
|
||||||
|
|
||||||
|
if (hFile == INVALID_HANDLE_VALUE) return;
|
||||||
|
|
||||||
for (res = TRUE; res; res = FindNextFileW(hFile, &wfd))
|
for (res = TRUE; res; res = FindNextFileW(hFile, &wfd))
|
||||||
{
|
{
|
||||||
if (IsDotDir(wfd.cFileName)) continue;
|
if (IsDotDir(wfd.cFileName)) continue;
|
||||||
|
|
Loading…
Reference in New Issue