Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 14100] unsafe real_rm_source_dir

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 14100] unsafe real_rm_source_dir
  • Date: 13 Nov 2007 20:26:14 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=14100





------- Additional Comments From abouter AT sourcemage.org 2007-11-13 14:26
-------
what's wrong with checking for ^/usr/src the included list of spells that
don't
use $BUILD_DIRECTORY isn't that long. IMHO adding a simple check to protect
everything outside of /usr/src, /usr and / is worth the microsecond it takes
to
do that test.

As i said on irc, a rm -rf / is easier to spot than a funny BUILD_DIRECTORY

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




Archive powered by MHonArc 2.6.24.

Top of Page