Update 1.8.16 --> 1.8.17

PR:		210407
Submitted by:	cy@
Approved by:	garga@
MFH:		2016Q2
This commit is contained in:
Cy Schubert 2016-06-20 14:03:03 +00:00
parent ef2ee88cb2
commit becd50be04
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=417158
4 changed files with 6 additions and 39 deletions

View file

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= sudo
PORTVERSION= 1.8.16
PORTREVISION= 2
PORTVERSION= 1.8.17
CATEGORIES= security
MASTER_SITES= SUDO

View file

@ -1,2 +1,3 @@
SHA256 (sudo-1.8.16.tar.gz) = 2d83826fc5125bf073acc203dbda1cf2abeee017090ccc9dddb0431a53d5064d
SIZE (sudo-1.8.16.tar.gz) = 2707358
TIMESTAMP = 1466427088
SHA256 (sudo-1.8.17.tar.gz) = 62b12c4fa9a3ad4f20f6e7576bc6405b2ec8d76222ea44a1c94830c68cccec8c
SIZE (sudo-1.8.17.tar.gz) = 2786216

View file

@ -1,35 +0,0 @@
--- plugins/sudoers/pwutil.c Thu Apr 28 15:27:53 2016 -0600
+++ plugins/sudoers/pwutil.c Wed May 04 08:55:21 2016 -0600
@@ -139,8 +139,8 @@
item = node->data;
sudo_debug_printf(SUDO_DEBUG_DEBUG,
"%s: uid %u [%s] -> user %s [%s] (cache hit)", __func__,
- (unsigned int)uid, key.registry, item->d.pw->pw_name,
- item->registry);
+ (unsigned int)uid, key.registry,
+ item->d.pw ? item->d.pw->pw_name : "unknown", item->registry);
goto done;
}
/*
@@ -202,8 +202,8 @@
if ((node = rbfind(pwcache_byname, &key)) != NULL) {
item = node->data;
sudo_debug_printf(SUDO_DEBUG_DEBUG,
- "%s: user %s [%s] -> uid %u [%s] (cache hit)", __func__, name,
- key.registry, (unsigned int)item->d.pw->pw_uid, item->registry);
+ "%s: user %s [%s] -> uid %d [%s] (cache hit)", __func__, name,
+ key.registry, item->d.pw ? (int)item->d.pw->pw_uid : -1, item->registry);
goto done;
}
/*
@@ -461,8 +461,8 @@
item = node->data;
sudo_debug_printf(SUDO_DEBUG_DEBUG,
"%s: gid %u [%s] -> group %s [%s] (cache hit)", __func__,
- (unsigned int)gid, key.registry, item->d.gr->gr_name,
- item->registry);
+ (unsigned int)gid, key.registry,
+ item->d.gr ? item->d.gr->gr_name : "unknown", item->registry);
goto done;
}
/*

View file

@ -66,6 +66,8 @@ sbin/visudo
%%NLS%%share/locale/it/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/ja/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/ja/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/ko/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/ko/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/lt/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/nb/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/nb/LC_MESSAGES/sudoers.mo