lib/repo_sync.c: CID 62763 (toctou)
lib/repo.c: CID 62757 (toctou)
bin/xbps-remove/clean-cache.c: CID 62747 (toctou)
lib/transaction_commit.c: CID 62740 (toctou)