diff options
author | 2017-01-14 14:19:20 +0100 | |
---|---|---|
committer | 2017-01-14 14:19:20 +0100 | |
commit | c24a59350fa5db2636ae3051f0df47ecc0f1fcf6 (patch) | |
tree | 7dae22aa60d1b7d254837b3dfebddcc083855feb /x11-misc/slock/files | |
parent | x11-misc/xlockmore: Stable for HPPA (bug #604370). (diff) | |
download | gentoo-c24a59350fa5db2636ae3051f0df47ecc0f1fcf6.tar.gz gentoo-c24a59350fa5db2636ae3051f0df47ecc0f1fcf6.tar.bz2 gentoo-c24a59350fa5db2636ae3051f0df47ecc0f1fcf6.zip |
x11-misc/slock: Old.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'x11-misc/slock/files')
-rw-r--r-- | x11-misc/slock/files/slock-1.3-CVE-2016-6866.patch | 11 | ||||
-rw-r--r-- | x11-misc/slock/files/slock-1.3-warning.patch | 10 |
2 files changed, 0 insertions, 21 deletions
diff --git a/x11-misc/slock/files/slock-1.3-CVE-2016-6866.patch b/x11-misc/slock/files/slock-1.3-CVE-2016-6866.patch deleted file mode 100644 index a5043b90978b..000000000000 --- a/x11-misc/slock/files/slock-1.3-CVE-2016-6866.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/slock.c -+++ b/slock.c -@@ -310,6 +310,8 @@ - - #ifndef HAVE_BSD_AUTH - pws = getpw(); -+ if(strlen(pws) < 2) -+ die("This user has no password set.\n"); - #endif - - if (!(dpy = XOpenDisplay(0))) diff --git a/x11-misc/slock/files/slock-1.3-warning.patch b/x11-misc/slock/files/slock-1.3-warning.patch deleted file mode 100644 index df2ce5a38514..000000000000 --- a/x11-misc/slock/files/slock-1.3-warning.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/slock.c -+++ b/slock.c -@@ -81,7 +81,7 @@ - die("buffer too small\n"); - - if (fd < 0 || write(fd, value, length) != length || close(fd) != 0) -- die("cannot disable the out-of-memory killer for this process (make sure to suid or sgid slock)\n"); -+ fprintf(stderr, "cannot disable the out-of-memory killer for this process.\n"); - } - #endif |