summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/rush-CVE-2013-6889.patch
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-10-04 15:55:21 +0200
committerLudovic Courtès <ludo@gnu.org>2016-10-04 16:37:59 +0200
commita884fa2141c2bfc65467c0908bd98fd39df90a62 (patch)
treed07a8b0a99b1150dc3bc472a5a7fccb283e1d523 /gnu/packages/patches/rush-CVE-2013-6889.patch
parentafb325d84227fe84adda60c03a9015d7473c0b85 (diff)
downloadguix-patches-a884fa2141c2bfc65467c0908bd98fd39df90a62.tar
guix-patches-a884fa2141c2bfc65467c0908bd98fd39df90a62.tar.gz
gnu: rush: Update to 1.8.
* gnu/packages/rush.scm (rush): Update to 1.8. [source]: Remove 'patches'. * gnu/packages/patches/cpio-gets-undeclared.patch, gnu/packages/patches/rush-CVE-2013-6889.patch: Remove. * gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Diffstat (limited to 'gnu/packages/patches/rush-CVE-2013-6889.patch')
-rw-r--r--gnu/packages/patches/rush-CVE-2013-6889.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/gnu/packages/patches/rush-CVE-2013-6889.patch b/gnu/packages/patches/rush-CVE-2013-6889.patch
deleted file mode 100644
index 862528a12c..0000000000
--- a/gnu/packages/patches/rush-CVE-2013-6889.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-commit 00bdccd429517f12dbf37ab4397ddec3e51a2738
-Author: Mats Erik Andersson <gnu@gisladisker.se>
-Date: Mon Jan 20 13:33:52 2014 +0200
-
- Protect against CVE-2013-6889 (tiny change).
-
- Reset the effective user identification in testing mode.
-
-diff --git a/src/rush.c b/src/rush.c
-index 45d737a..dc6518e 100644
---- a/src/rush.c
-+++ b/src/rush.c
-@@ -980,6 +980,10 @@ main(int argc, char **argv)
- } else if (argc > optind)
- die(usage_error, NULL, _("invalid command line"));
-
-+ /* Relinquish root privileges in test mode */
-+ if (lint_option)
-+ setuid(getuid());
-+
- if (test_user_name) {
- struct passwd *pw = getpwnam(test_user_name);
- if (!pw)