View | Details | Raw Unified | Return to bug 210407
Collapse All | Expand All

(-)Makefile (-2 / +1 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	sudo
4
PORTNAME=	sudo
5
PORTVERSION=	1.8.16
5
PORTVERSION=	1.8.17
6
PORTREVISION=	2
7
CATEGORIES=	security
6
CATEGORIES=	security
8
MASTER_SITES=	SUDO
7
MASTER_SITES=	SUDO
9
8
(-)distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (sudo-1.8.16.tar.gz) = 2d83826fc5125bf073acc203dbda1cf2abeee017090ccc9dddb0431a53d5064d
1
TIMESTAMP = 1466427088
2
SIZE (sudo-1.8.16.tar.gz) = 2707358
2
SHA256 (sudo-1.8.17.tar.gz) = 62b12c4fa9a3ad4f20f6e7576bc6405b2ec8d76222ea44a1c94830c68cccec8c
3
SIZE (sudo-1.8.17.tar.gz) = 2786216
(-)files/patch-fix_bz208198 (-35 lines)
Lines 1-35 Link Here
1
--- plugins/sudoers/pwutil.c	Thu Apr 28 15:27:53 2016 -0600
2
+++ plugins/sudoers/pwutil.c	Wed May 04 08:55:21 2016 -0600
3
@@ -139,8 +139,8 @@
4
 	item = node->data;
5
 	sudo_debug_printf(SUDO_DEBUG_DEBUG,
6
 	    "%s: uid %u [%s] -> user %s [%s] (cache hit)", __func__,
7
-	    (unsigned int)uid, key.registry, item->d.pw->pw_name,
8
-	    item->registry);
9
+	    (unsigned int)uid, key.registry,
10
+	    item->d.pw ? item->d.pw->pw_name : "unknown", item->registry);
11
 	goto done;
12
     }
13
     /*
14
@@ -202,8 +202,8 @@
15
     if ((node = rbfind(pwcache_byname, &key)) != NULL) {
16
 	item = node->data;
17
 	sudo_debug_printf(SUDO_DEBUG_DEBUG,
18
-	    "%s: user %s [%s] -> uid %u [%s] (cache hit)", __func__, name,
19
-	    key.registry, (unsigned int)item->d.pw->pw_uid, item->registry);
20
+	    "%s: user %s [%s] -> uid %d [%s] (cache hit)", __func__, name,
21
+	    key.registry, item->d.pw ? (int)item->d.pw->pw_uid : -1, item->registry);
22
 	goto done;
23
     }
24
     /*
25
@@ -461,8 +461,8 @@
26
 	item = node->data;
27
 	sudo_debug_printf(SUDO_DEBUG_DEBUG,
28
 	    "%s: gid %u [%s] -> group %s [%s] (cache hit)", __func__,
29
-	    (unsigned int)gid, key.registry, item->d.gr->gr_name,
30
-	    item->registry);
31
+	    (unsigned int)gid, key.registry,
32
+	    item->d.gr ? item->d.gr->gr_name : "unknown", item->registry);
33
 	goto done;
34
     }
35
     /*
(-)pkg-plist (+2 lines)
Lines 66-71 Link Here
66
%%NLS%%share/locale/it/LC_MESSAGES/sudoers.mo
66
%%NLS%%share/locale/it/LC_MESSAGES/sudoers.mo
67
%%NLS%%share/locale/ja/LC_MESSAGES/sudo.mo
67
%%NLS%%share/locale/ja/LC_MESSAGES/sudo.mo
68
%%NLS%%share/locale/ja/LC_MESSAGES/sudoers.mo
68
%%NLS%%share/locale/ja/LC_MESSAGES/sudoers.mo
69
%%NLS%%share/locale/ko/LC_MESSAGES/sudo.mo
70
%%NLS%%share/locale/ko/LC_MESSAGES/sudoers.mo
69
%%NLS%%share/locale/lt/LC_MESSAGES/sudoers.mo
71
%%NLS%%share/locale/lt/LC_MESSAGES/sudoers.mo
70
%%NLS%%share/locale/nb/LC_MESSAGES/sudo.mo
72
%%NLS%%share/locale/nb/LC_MESSAGES/sudo.mo
71
%%NLS%%share/locale/nb/LC_MESSAGES/sudoers.mo
73
%%NLS%%share/locale/nb/LC_MESSAGES/sudoers.mo

Return to bug 210407