app-misc/screen: Revision bump, security bug #607116

Package-Manager: Portage-2.3.3, Repoman-2.3.1
This commit is contained in:
Sven Wegener
2017-01-29 09:12:21 +00:00
parent 055a751ac1
commit 4223dca39b
3 changed files with 19 additions and 4 deletions

View File

@@ -0,0 +1,17 @@
Revert commit 5460f5d28c01a9a58e021eb1dffef2965e629d58
--- b/screen.c
+++ a/screen.c
@@ -670,12 +670,6 @@ int main(int ac, char** av)
Panic(0, "-L: logfile name can not start with \"-\" symbol");
if (strlen(screenlogfile) > PATH_MAX)
Panic(0, "-L: logfile name too long. (max. %d char)", PATH_MAX);
-
- FILE *w_check;
- if ((w_check = fopen(screenlogfile, "w")) == NULL)
- Panic(0, "-L: logfile name access problem");
- else
- fclose(w_check);
}
nwin_options.Lflag = 1;
break;

View File

@@ -38,6 +38,8 @@ PATCHES=(
"${FILESDIR}"/${PN}-4.3.0-no-utempter.patch
# PATH_MAX usage needs an include on Solaris
"${FILESDIR}"/${P}-solaris-PATH_MAX.patch
# Revert patch due to security, bug #607116
"${FILESDIR}"/${P}-logfile-access-revert.patch
)
pkg_setup() {

View File

@@ -68,10 +68,6 @@ x11-drivers/xf86-video-ivtv
# Bug #606132
x11-drivers/xf86-video-v4l
# Jeroen Roovers <jer@gentoo.org> (24 Jan 2017)
# Masked for bug #607116
=app-misc/screen-4.5.0
# Michał Górny <mgorny@gentoo.org> (24 Jan 2017)
# Mask 4.0.0 RCs (then final) for initial testing, and updating most
# important revdeps. Also revdeps that require 4.0.