summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <Todd.Miller@courtesan.com>2010-06-30 09:21:47 -0400
committerTodd C. Miller <Todd.Miller@courtesan.com>2010-06-30 09:21:47 -0400
commitec2a78b24b22f1d275f9e6d54ddf9c2cc5dd4b09 (patch)
treee3b6bd0378cccc50882a8cd91ea03cef3499b9d6
parent92b87e85aa801d5e6688dc82f804476728911c62 (diff)
downloadsudo-1.7.2.tar.gz
Bump version for sudo 1.7.2p81.7.2
-rw-r--r--ChangeLog26
-rwxr-xr-xconfigure18
-rw-r--r--configure.in2
-rw-r--r--sudo.cat20
-rw-r--r--sudo.man.in2
-rw-r--r--sudoers.cat58
-rw-r--r--sudoers.ldap.cat24
-rw-r--r--sudoers.ldap.man.in2
-rw-r--r--sudoers.man.in2
-rw-r--r--visudo.cat6
-rw-r--r--visudo.man.in2
11 files changed, 94 insertions, 68 deletions
diff --git a/ChangeLog b/ChangeLog
index 6ff582fad..e74f22f37 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,29 @@
+2010-06-29 Todd C. Miller <Todd.Miller@courtesan.com>
+
+ * env.c: In unsetenv() check for NULL or empty name as per
+ POSIX 1003.1-2008
+
+ * env.c: Do not rely on env.env_len when unsetting a variable,
+ just use the NULL terminator.
+
+2010-06-25 Todd C. Miller <Todd.Miller@courtesan.com>
+
+ * env.c: In unsetenv(), do not assign ep early as we may
+ end up reallocating env.envp which could result in ep
+ pointing to freed memory if the environ pointer is out
+ of sync with env.envp.
+
+ * pwutil.c: Ignore case when matching user/group names in
+ the cache. From Quest sudo.
+
+ * sudo.c: Defer call to sudo_nonunix_groupcheck_cleanup()
+ until after we have closed the sudoers sources. From Quest
+ sudo.
+
+ * vasgroups.c: Use warningx() instead of log_error() since
+ the latter is not available to visudo or testsudoers. This
+ does mean that they don't end up in syslog.
+
2010-06-02 Todd C. Miller <Todd.Miller@courtesan.com>
* auth/pam.c: Fix OpenPAM detection for newer versions.
diff --git a/configure b/configure
index fefb32804..e7762100a 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61 for sudo 1.7.2p7.
+# Generated by GNU Autoconf 2.61 for sudo 1.7.2p8.
#
# Report bugs to <http://www.sudo.ws/bugs/>.
#
@@ -724,8 +724,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
PACKAGE_NAME='sudo'
PACKAGE_TARNAME='sudo'
-PACKAGE_VERSION='1.7.2p7'
-PACKAGE_STRING='sudo 1.7.2p7'
+PACKAGE_VERSION='1.7.2p8'
+PACKAGE_STRING='sudo 1.7.2p8'
PACKAGE_BUGREPORT='http://www.sudo.ws/bugs/'
# Factoring default headers for most tests.
@@ -1417,7 +1417,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures sudo 1.7.2p7 to adapt to many kinds of systems.
+\`configure' configures sudo 1.7.2p8 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1482,7 +1482,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of sudo 1.7.2p7:";;
+ short | recursive ) echo "Configuration of sudo 1.7.2p8:";;
esac
cat <<\_ACEOF
@@ -1684,7 +1684,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-sudo configure 1.7.2p7
+sudo configure 1.7.2p8
generated by GNU Autoconf 2.61
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1698,7 +1698,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by sudo $as_me 1.7.2p7, which was
+It was created by sudo $as_me 1.7.2p8, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ $0 $@
@@ -24725,7 +24725,7 @@ exec 6>&1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by sudo $as_me 1.7.2p7, which was
+This file was extended by sudo $as_me 1.7.2p8, which was
generated by GNU Autoconf 2.61. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -24774,7 +24774,7 @@ Report bugs to <bug-autoconf@gnu.org>."
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-sudo config.status 1.7.2p7
+sudo config.status 1.7.2p8
configured by $0, generated by GNU Autoconf 2.61,
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff --git a/configure.in b/configure.in
index 2790530e2..5846de669 100644
--- a/configure.in
+++ b/configure.in
@@ -3,7 +3,7 @@ dnl Process this file with GNU autoconf to produce a configure script.
dnl
dnl Copyright (c) 1994-1996,1998-2010 Todd C. Miller <Todd.Miller@courtesan.com>
dnl
-AC_INIT([sudo], [1.7.2p7], [http://www.sudo.ws/bugs/], [sudo])
+AC_INIT([sudo], [1.7.2p8], [http://www.sudo.ws/bugs/], [sudo])
AC_CONFIG_HEADER(config.h pathnames.h)
dnl
dnl This won't work before AC_INIT
diff --git a/sudo.cat b/sudo.cat
index 23542ccf4..220277ba2 100644
--- a/sudo.cat
+++ b/sudo.cat
@@ -61,7 +61,7 @@ DDEESSCCRRIIPPTTIIOONN
-1.7.2p7 June 1, 2010 1
+1.7.2p8 June 30, 2010 1
@@ -127,7 +127,7 @@ OOPPTTIIOONNSS
-1.7.2p7 June 1, 2010 2
+1.7.2p8 June 30, 2010 2
@@ -193,7 +193,7 @@ SUDO(1m) MAINTENANCE COMMANDS SUDO(1m)
-1.7.2p7 June 1, 2010 3
+1.7.2p8 June 30, 2010 3
@@ -259,7 +259,7 @@ SUDO(1m) MAINTENANCE COMMANDS SUDO(1m)
-1.7.2p7 June 1, 2010 4
+1.7.2p8 June 30, 2010 4
@@ -325,7 +325,7 @@ SUDO(1m) MAINTENANCE COMMANDS SUDO(1m)
-1.7.2p7 June 1, 2010 5
+1.7.2p8 June 30, 2010 5
@@ -391,7 +391,7 @@ SSEECCUURRIITTYY NNOOTTEESS
-1.7.2p7 June 1, 2010 6
+1.7.2p8 June 30, 2010 6
@@ -457,7 +457,7 @@ EENNVVIIRROONNMMEENNTT
-1.7.2p7 June 1, 2010 7
+1.7.2p8 June 30, 2010 7
@@ -523,7 +523,7 @@ EEXXAAMMPPLLEESS
-1.7.2p7 June 1, 2010 8
+1.7.2p8 June 30, 2010 8
@@ -589,7 +589,7 @@ CCAAVVEEAATTSS
-1.7.2p7 June 1, 2010 9
+1.7.2p8 June 30, 2010 9
@@ -655,6 +655,6 @@ DDIISSCCLLAAIIMMEERR
-1.7.2p7 June 1, 2010 10
+1.7.2p8 June 30, 2010 10
diff --git a/sudo.man.in b/sudo.man.in
index 6c0130720..c93bc25ce 100644
--- a/sudo.man.in
+++ b/sudo.man.in
@@ -144,7 +144,7 @@
.\" ========================================================================
.\"
.IX Title "SUDO @mansectsu@"
-.TH SUDO @mansectsu@ "June 1, 2010" "1.7.2p7" "MAINTENANCE COMMANDS"
+.TH SUDO @mansectsu@ "June 30, 2010" "1.7.2p8" "MAINTENANCE COMMANDS"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
diff --git a/sudoers.cat b/sudoers.cat
index 161e22665..a37a67a2b 100644
--- a/sudoers.cat
+++ b/sudoers.cat
@@ -61,7 +61,7 @@ DDEESSCCRRIIPPTTIIOONN
-1.7.2p7 June 1, 2010 1
+1.7.2p8 June 30, 2010 1
@@ -127,7 +127,7 @@ SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4)
-1.7.2p7 June 1, 2010 2
+1.7.2p8 June 30, 2010 2
@@ -193,7 +193,7 @@ SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4)
-1.7.2p7 June 1, 2010 3
+1.7.2p8 June 30, 2010 3
@@ -259,7 +259,7 @@ SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4)
-1.7.2p7 June 1, 2010 4
+1.7.2p8 June 30, 2010 4
@@ -325,7 +325,7 @@ SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4)
-1.7.2p7 June 1, 2010 5
+1.7.2p8 June 30, 2010 5
@@ -391,7 +391,7 @@ SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4)
-1.7.2p7 June 1, 2010 6
+1.7.2p8 June 30, 2010 6
@@ -457,7 +457,7 @@ SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4)
-1.7.2p7 June 1, 2010 7
+1.7.2p8 June 30, 2010 7
@@ -523,7 +523,7 @@ SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4)
-1.7.2p7 June 1, 2010 8
+1.7.2p8 June 30, 2010 8
@@ -589,7 +589,7 @@ SSUUDDOOEERRSS OOPPTTIIOONNSS
-1.7.2p7 June 1, 2010 9
+1.7.2p8 June 30, 2010 9
@@ -655,7 +655,7 @@ SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4)
-1.7.2p7 June 1, 2010 10
+1.7.2p8 June 30, 2010 10
@@ -717,11 +717,11 @@ SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4)
passprompt_override
The password prompt specified by _p_a_s_s_p_r_o_m_p_t will
- normally only be used if the password prompt provided by
+ normally only be used if the password prompt provided
-1.7.2p7 June 1, 2010 11
+1.7.2p8 June 30, 2010 11
@@ -730,9 +730,9 @@ SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4)
SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4)
- systems such as PAM matches the string "Password:". If
- _p_a_s_s_p_r_o_m_p_t___o_v_e_r_r_i_d_e is set, _p_a_s_s_p_r_o_m_p_t will always be
- used. This flag is _o_f_f by default.
+ by systems such as PAM matches the string "Password:".
+ If _p_a_s_s_p_r_o_m_p_t___o_v_e_r_r_i_d_e is set, _p_a_s_s_p_r_o_m_p_t will always
+ be used. This flag is _o_f_f by default.
preserve_groups By default, ssuuddoo will initialize the group vector to
the list of groups the target user is in. When
@@ -787,7 +787,7 @@ SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4)
-1.7.2p7 June 1, 2010 12
+1.7.2p8 June 30, 2010 12
@@ -853,7 +853,7 @@ SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4)
-1.7.2p7 June 1, 2010 13
+1.7.2p8 June 30, 2010 13
@@ -919,7 +919,7 @@ SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4)
-1.7.2p7 June 1, 2010 14
+1.7.2p8 June 30, 2010 14
@@ -985,7 +985,7 @@ SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4)
-1.7.2p7 June 1, 2010 15
+1.7.2p8 June 30, 2010 15
@@ -1051,7 +1051,7 @@ SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4)
-1.7.2p7 June 1, 2010 16
+1.7.2p8 June 30, 2010 16
@@ -1117,7 +1117,7 @@ SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4)
-1.7.2p7 June 1, 2010 17
+1.7.2p8 June 30, 2010 17
@@ -1183,7 +1183,7 @@ SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4)
-1.7.2p7 June 1, 2010 18
+1.7.2p8 June 30, 2010 18
@@ -1249,7 +1249,7 @@ EEXXAAMMPPLLEESS
-1.7.2p7 June 1, 2010 19
+1.7.2p8 June 30, 2010 19
@@ -1315,7 +1315,7 @@ SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4)
-1.7.2p7 June 1, 2010 20
+1.7.2p8 June 30, 2010 20
@@ -1381,7 +1381,7 @@ SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4)
-1.7.2p7 June 1, 2010 21
+1.7.2p8 June 30, 2010 21
@@ -1447,7 +1447,7 @@ SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4)
-1.7.2p7 June 1, 2010 22
+1.7.2p8 June 30, 2010 22
@@ -1513,7 +1513,7 @@ PPRREEVVEENNTTIINNGG SSHHEELLLL EESSCCAAPPEESS
-1.7.2p7 June 1, 2010 23
+1.7.2p8 June 30, 2010 23
@@ -1579,7 +1579,7 @@ CCAAVVEEAATTSS
-1.7.2p7 June 1, 2010 24
+1.7.2p8 June 30, 2010 24
@@ -1645,6 +1645,6 @@ DDIISSCCLLAAIIMMEERR
-1.7.2p7 June 1, 2010 25
+1.7.2p8 June 30, 2010 25
diff --git a/sudoers.ldap.cat b/sudoers.ldap.cat
index 0fbab1ea2..1a22908e8 100644
--- a/sudoers.ldap.cat
+++ b/sudoers.ldap.cat
@@ -61,7 +61,7 @@ DDEESSCCRRIIPPTTIIOONN
-1.7.2p7 June 1, 2010 1
+1.7.2p8 June 30, 2010 1
@@ -127,7 +127,7 @@ SUDOERS.LDAP(4) MAINTENANCE COMMANDS SUDOERS.LDAP(4)
-1.7.2p7 June 1, 2010 2
+1.7.2p8 June 30, 2010 2
@@ -193,7 +193,7 @@ SUDOERS.LDAP(4) MAINTENANCE COMMANDS SUDOERS.LDAP(4)
-1.7.2p7 June 1, 2010 3
+1.7.2p8 June 30, 2010 3
@@ -259,7 +259,7 @@ SUDOERS.LDAP(4) MAINTENANCE COMMANDS SUDOERS.LDAP(4)
-1.7.2p7 June 1, 2010 4
+1.7.2p8 June 30, 2010 4
@@ -325,7 +325,7 @@ SUDOERS.LDAP(4) MAINTENANCE COMMANDS SUDOERS.LDAP(4)
-1.7.2p7 June 1, 2010 5
+1.7.2p8 June 30, 2010 5
@@ -391,7 +391,7 @@ SUDOERS.LDAP(4) MAINTENANCE COMMANDS SUDOERS.LDAP(4)
-1.7.2p7 June 1, 2010 6
+1.7.2p8 June 30, 2010 6
@@ -457,7 +457,7 @@ SUDOERS.LDAP(4) MAINTENANCE COMMANDS SUDOERS.LDAP(4)
-1.7.2p7 June 1, 2010 7
+1.7.2p8 June 30, 2010 7
@@ -523,7 +523,7 @@ SUDOERS.LDAP(4) MAINTENANCE COMMANDS SUDOERS.LDAP(4)
-1.7.2p7 June 1, 2010 8
+1.7.2p8 June 30, 2010 8
@@ -589,7 +589,7 @@ EEXXAAMMPPLLEESS
-1.7.2p7 June 1, 2010 9
+1.7.2p8 June 30, 2010 9
@@ -655,7 +655,7 @@ SUDOERS.LDAP(4) MAINTENANCE COMMANDS SUDOERS.LDAP(4)
-1.7.2p7 June 1, 2010 10
+1.7.2p8 June 30, 2010 10
@@ -721,7 +721,7 @@ SUDOERS.LDAP(4) MAINTENANCE COMMANDS SUDOERS.LDAP(4)
-1.7.2p7 June 1, 2010 11
+1.7.2p8 June 30, 2010 11
@@ -787,6 +787,6 @@ DDIISSCCLLAAIIMMEERR
-1.7.2p7 June 1, 2010 12
+1.7.2p8 June 30, 2010 12
diff --git a/sudoers.ldap.man.in b/sudoers.ldap.man.in
index c608554c9..b0bdcf56f 100644
--- a/sudoers.ldap.man.in
+++ b/sudoers.ldap.man.in
@@ -140,7 +140,7 @@
.\" ========================================================================
.\"
.IX Title "SUDOERS.LDAP @mansectform@"
-.TH SUDOERS.LDAP @mansectform@ "June 1, 2010" "1.7.2p7" "MAINTENANCE COMMANDS"
+.TH SUDOERS.LDAP @mansectform@ "June 30, 2010" "1.7.2p8" "MAINTENANCE COMMANDS"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
diff --git a/sudoers.man.in b/sudoers.man.in
index 7cfcc1dde..99af7b50c 100644
--- a/sudoers.man.in
+++ b/sudoers.man.in
@@ -144,7 +144,7 @@
.\" ========================================================================
.\"
.IX Title "SUDOERS @mansectform@"
-.TH SUDOERS @mansectform@ "June 1, 2010" "1.7.2p7" "MAINTENANCE COMMANDS"
+.TH SUDOERS @mansectform@ "June 30, 2010" "1.7.2p8" "MAINTENANCE COMMANDS"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
diff --git a/visudo.cat b/visudo.cat
index b6f6394bb..1e8411cf8 100644
--- a/visudo.cat
+++ b/visudo.cat
@@ -61,7 +61,7 @@ OOPPTTIIOONNSS
-1.7.2p7 June 1, 2010 1
+1.7.2p8 June 30, 2010 1
@@ -127,7 +127,7 @@ AAUUTTHHOORR
-1.7.2p7 June 1, 2010 2
+1.7.2p8 June 30, 2010 2
@@ -193,6 +193,6 @@ DDIISSCCLLAAIIMMEERR
-1.7.2p7 June 1, 2010 3
+1.7.2p8 June 30, 2010 3
diff --git a/visudo.man.in b/visudo.man.in
index faec85620..f203e98e0 100644
--- a/visudo.man.in
+++ b/visudo.man.in
@@ -144,7 +144,7 @@
.\" ========================================================================
.\"
.IX Title "VISUDO @mansectsu@"
-.TH VISUDO @mansectsu@ "June 1, 2010" "1.7.2p7" "MAINTENANCE COMMANDS"
+.TH VISUDO @mansectsu@ "June 30, 2010" "1.7.2p8" "MAINTENANCE COMMANDS"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l