model-writtenrun 4177 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Ranier Vilela reported a Coverity finding that rmtree() could leak 64 bytes when opening a directory failed and proposed delaying allocation until after successful OPENDIR() #1.
- Daniel Gustafsson examined callers and found the practical impact low because they exit or report errors on failure, but considered silencing static analyzers sufficient justification for the change #2.
- Michael Paquier supported delaying allocation and noted that external callers could suffer from repeated failures within a persistent memory context #3.
- Michael Paquier committed the patch from #1 with only an additional blank line as f1e9f6bbfa, crediting Ranier as author and Daniel as reviewer.
- Ranier thanked Michael for the commit #4, and Michael supplied the commit reference for the archives #5, closing the thread with the fix landed and no outstanding work.