26 lines
657 B
Diff
26 lines
657 B
Diff
From 2a265ce59a6e0187ca4b96feb86196d7816d271f Mon Sep 17 00:00:00 2001
|
|
From: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
|
|
Date: Sat, 19 Apr 2008 18:00:19 +0200
|
|
Subject: [PATCH] Security fix for proper $PATH
|
|
|
|
Removed '.' from the default $PATH.
|
|
---
|
|
include/paths.h | 2 +-
|
|
1 files changed, 1 insertions(+), 1 deletions(-)
|
|
|
|
diff --git a/include/paths.h b/include/paths.h
|
|
index 553b4fa..9bf216f 100644
|
|
--- a/include/paths.h
|
|
+++ b/include/paths.h
|
|
@@ -2,7 +2,7 @@
|
|
#define _PATHS_H
|
|
|
|
#define _PATH_BSHELL "/bin/sh"
|
|
-#define _PATH_DEFPATH "/bin:/usr/bin:"
|
|
+#define _PATH_DEFPATH "/bin:/usr/bin"
|
|
|
|
#define _PATH_DEVNULL "/dev/null"
|
|
|
|
--
|
|
1.5.5.1
|
|
|