HomeClusterLabs Projects

Refactor: remoted: Avoid TOCTOU when cleaning up remote schema dir
23a8a894f973Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Refactor: remoted: Avoid TOCTOU when cleaning up remote schema dir

This is rather trivial and should not pose a real safety/reliability
risk. However, Coverity identified it as a TOCTOU bug, and cleaning it
up seems like an improvement.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Mar 3 2025, 2:14 AM
Parents
rP7e9b8ccf06de: Refactor: various: NULL-initialize namelist before scandir() call
Branches
Unknown
Tags
Unknown

Event Timeline