]> git.pld-linux.org Git - packages/cyrus-sasl.git/commitdiff
- updated patches
authorMariusz Mazur <mmazur@pld-linux.org>
Fri, 15 Oct 2004 13:43:30 +0000 (13:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cyrus-sasl-unchecked_env.patch -> 1.1

cyrus-sasl-unchecked_env.patch [new file with mode: 0644]

diff --git a/cyrus-sasl-unchecked_env.patch b/cyrus-sasl-unchecked_env.patch
new file mode 100644 (file)
index 0000000..b6571f0
--- /dev/null
@@ -0,0 +1,13 @@
+--- cyrus-sasl-1.5.27/lib/common.c~    Thu Oct 14 19:42:38 2004
++++ cyrus-sasl-1.5.27/lib/common.c     Thu Oct 14 19:44:57 2004
+@@ -682,7 +682,9 @@
+   if (! path_dest)
+     return SASL_BADPARAM;
+-  path = getenv(SASL_PATH_ENV_VAR);
++  /* Honor external variable only in a safe environment */
++  if (getuid() == geteuid() && getgid() == getegid())
++        *path = getenv(SASL_PATH_ENV_VAR);
+   if (! path)
+     path = PLUGINDIR;
+   return _sasl_strdup(path, path_dest, NULL);
This page took 0.371677 seconds and 4 git commands to generate.