Bug 212167

This commit is contained in:
Soren Sandmann Pedersen 2007-08-02 17:25:28 +00:00
parent fffe1bbdd0
commit cbfffcdd02
2 changed files with 5 additions and 2 deletions

View File

@ -12,7 +12,7 @@
if [ -z "$GDMSESSION" ]; then
# GDM redirect output itself in a smarter fashion
errfile="$HOME/.xsession-errors"
if cp /dev/null "$errfile" 2> /dev/null ; then
if ( unask 077 && cp /dev/null "$errfile" 2> /dev/null ); then
chmod 600 "$errfile"
exec > "$errfile" 2>&1
else

View File

@ -3,7 +3,7 @@
Summary: X.Org X11 X Window System xinit startup scripts
Name: xorg-x11-%{pkgname}
Version: 1.0.2
Release: 23%{?dist}
Release: 24%{?dist}
License: MIT/X11
Group: User Interface/X
URL: http://www.x.org
@ -110,6 +110,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man1/xinit.1*
%changelog
* Thu Aug 2 2007 Soren Sandmann <sandmann@redhat.com> 1.0.2-24
- Fix bug 212167, CVE-2006-5214
* Sun Jul 29 2007 Soren Sandmann <sandmann@redhat.com> 1.0.2-23
- Fix Xsession to run the login shell inside the setgid ssh-agent, rather
than the other way around. This preserves LD_LIBRARY_PRELOAD.