-
Bug
-
Resolution: Done
-
Undefined
-
None
-
None
Description of problem:
The current code in GenerateUniqueTempPath function is not safe to be used in parallel because it does not create file system objects, but tests for their existence. If this function is called from different threads for the same base path, it might return the same name in more than one thread.
Version-Release number of selected component (if applicable):
All
How reproducible:
Not reproducible because the function is called from the main thread only atm.
Actual results:
Using a custom function for temp file / dir creation
Expected results:
Using Go library functions for creating temporary file or directories.
Additional info: