aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/shadow-4.4-su-snprintf-fix.patch
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2017-05-17 19:20:11 -0400
committerLeo Famulari <leo@famulari.name>2017-05-17 21:20:29 -0400
commitb193fb2851eaa64e20cc4c01f7298c0a8a076a8c (patch)
tree391e790d4323539445c2480853171c9bb01d2ba6 /gnu/packages/patches/shadow-4.4-su-snprintf-fix.patch
parent6aa095f10c53588e3ac67a25539e53655256bbc0 (diff)
downloadguix-b193fb2851eaa64e20cc4c01f7298c0a8a076a8c.tar
guix-b193fb2851eaa64e20cc4c01f7298c0a8a076a8c.tar.gz
gnu: shadow: Update to 4.5.
This fixes a regression introduced by the fix for CVE-2017-2616. See <https://github.com/shadow-maint/shadow/pull/72> for more information. * gnu/packages/admin.scm (shadow): Update to 4.5. [source]: Remove patches. * gnu/packages/patches/shadow-4.4-su-snprintf-fix.patch, gnu/packages/patches/shadow-CVE-2017-2616.patch: Delete files. * gnu/local.mk (dist_patch_DATA): Remove them.
Diffstat (limited to 'gnu/packages/patches/shadow-4.4-su-snprintf-fix.patch')
-rw-r--r--gnu/packages/patches/shadow-4.4-su-snprintf-fix.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/gnu/packages/patches/shadow-4.4-su-snprintf-fix.patch b/gnu/packages/patches/shadow-4.4-su-snprintf-fix.patch
deleted file mode 100644
index 3f357c4924..0000000000
--- a/gnu/packages/patches/shadow-4.4-su-snprintf-fix.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-Patch copied from upstream source repository:
-
-https://github.com/shadow-maint/shadow/commit/67d2bb6e0a5ac124ce1f026dd5723217b1493194
-
-From 67d2bb6e0a5ac124ce1f026dd5723217b1493194 Mon Sep 17 00:00:00 2001
-From: Serge Hallyn <serge@hallyn.com>
-Date: Sun, 18 Sep 2016 21:31:18 -0500
-Subject: [PATCH] su.c: fix missing length argument to snprintf
-
----
- src/su.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/su.c b/src/su.c
-index 0c50a9456afd..93ffd2fbe2b4 100644
---- a/src/su.c
-+++ b/src/su.c
-@@ -373,8 +373,8 @@ static void prepare_pam_close_session (void)
- stderr);
- (void) kill (-pid_child, caught);
-
-- snprintf (kill_msg, _(" ...killed.\n"));
-- snprintf (wait_msg, _(" ...waiting for child to terminate.\n"));
-+ snprintf (kill_msg, 256, _(" ...killed.\n"));
-+ snprintf (wait_msg, 256, _(" ...waiting for child to terminate.\n"));
-
- (void) signal (SIGALRM, kill_child);
- (void) alarm (2);
---
-2.11.0.rc2
-