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: 14 Nov 2007 12:29:44 -0000

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


jakakranjc AT email.si changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |jakakranjc AT email.si




------- Additional Comments From jakakranjc AT email.si 2007-11-14 06:29 -------
It is wrong since $BUILD_DIRECTORY could be set to something else than /usr/
src .

And those spells in the list should be fixed anyway you put it. Once we setup
some linting as a commit hook, new entries can be caught asap.

Also, real_rm_source_dir already has some damage prevention in it (you can't
rm
-rf /). I guess we could add a check for ^$BUILD_DIRECTORY.* when $DEAD_DIR
==
$SOURCE_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