bos icon indicating copy to clipboard operation
bos copied to clipboard

Make `OS.Dir.delete ~recurse:true` secure to symlink attacks.

Open dbuenzli opened this issue 10 years ago • 1 comments

The implementation introduced in 8d15b141a0c903fedacf61e is vulnerable to that kind of attack.

dbuenzli avatar Aug 24 '15 00:08 dbuenzli

Also it may be worth introducing an error handling mecanism in the vein of the folding functions.

dbuenzli avatar Aug 24 '15 00:08 dbuenzli