Ericsson / codechecker

CodeChecker is an analyzer tooling, defect database and viewer extension for the Clang Static Analyzer and Clang Tidy
https://codechecker.readthedocs.io
Apache License 2.0
2.15k stars 357 forks source link

[fix] Use module uuid instead of tempfile #4253

Closed bruntib closed 4 weeks ago

bruntib commented 4 weeks ago

The problem with tempfile.mkstem() is that it opens the created file, and it must be closed through its file descriptor, otherwise some dangling .nfs files remain when CodeChecker is used in an NFS drive. For this reason we use uuid instead.