stat on memory storage should return a NULL name, not "".
This commit is contained in:
parent
08c6c698dd
commit
f0baf82b36
|
@ -4104,7 +4104,9 @@ void StorageUtl_CopyPropertyToSTATSTG(
|
|||
/*
|
||||
* The copy of the string occurs only when the flag is not set
|
||||
*/
|
||||
if ((statFlags & STATFLAG_NONAME) != 0)
|
||||
if( ((statFlags & STATFLAG_NONAME) != 0) ||
|
||||
(source->name == NULL) ||
|
||||
(source->name[0] == 0) )
|
||||
{
|
||||
destination->pwcsName = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue