Open
Description
The code is littered with TOCTTOU issues.
These need a condition handler around rename-file
and delete-file
to handle implementations that raise file-error
if there is an error, the solution isn't probe-file
because of the inherent TOCTTOU in probe-file
:
quicklisp-client/quicklisp/utils.lisp
Lines 28 to 32 in 10b61e5
quicklisp-client/quicklisp/utils.lisp
Lines 55 to 57 in 10b61e5
This
probe-file
in copy-file
seems completely unneeded:quicklisp-client/quicklisp/utils.lisp
Line 50 in 10b61e5
Also, it appears there's a duplicate version of copy-file:
quicklisp-client/quicklisp/bundle.lisp
Lines 270 to 283 in 10b61e5
I sent a PR with an example: #233
If such fixes are acceptable, I'll work on this issue.
Metadata
Metadata
Assignees
Labels
No labels