I again analyze fix http://landley.net/hg/toybox/rev/b748127e092e.
I added checking whether path doesn't indicate to directory before unlink.
Some systems allow to remove directory by unlink for superuser.
It is dangerous.

My fix:
https://github.com/luckboy/toybox/commit/90d7ec9795bc0de43692beda1aa22261657ef714

Ɓukasz Szpakowski.

_______________________________________________
Toybox mailing list
[email protected]
http://lists.landley.net/listinfo.cgi/toybox-landley.net

Reply via email to