Not sure the Win32 implementation of FileFindIter can ever return an empty string but if it does, it does not crash DC++, the result is a simple error message in the log : Error hashing <dirve:\folder\>: cannot the file specified.
However this message is misleading so if the attached patch satisfy you, it would fix both problem in both platforms.
Not sure the Win32 implementation of FileFindIter can ever return an empty string but if it does, it does not crash DC++, the result is a simple error message in the log : Error hashing <dirve:\folder\>: cannot the file specified.
However this message is misleading so if the attached patch satisfy you, it would fix both problem in both platforms.