This commit is contained in:
parent
5743efc96d
commit
1b0d209896
20
libXfont-commit-0f9db4a.diff
Normal file
20
libXfont-commit-0f9db4a.diff
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
commit 1ab07ce0eec4f6c7ed66c7aba3edf8c4315dd907
|
||||||
|
Author: Alan Coopersmith <alan.coopersmith@sun.com>
|
||||||
|
Date: Tue May 13 17:26:57 2008 -0700
|
||||||
|
|
||||||
|
FontFileDirectoryChanged: check length of "fonts.alias" as well as "fonts.dir"
|
||||||
|
|
||||||
|
diff --git a/src/fontfile/dirfile.c b/src/fontfile/dirfile.c
|
||||||
|
index a13798a..1489938 100755
|
||||||
|
--- a/src/fontfile/dirfile.c
|
||||||
|
+++ b/src/fontfile/dirfile.c
|
||||||
|
@@ -176,6 +176,9 @@ FontFileDirectoryChanged(FontDirectoryPtr dir)
|
||||||
|
}
|
||||||
|
if (dir->dir_mtime != statb.st_mtime)
|
||||||
|
return TRUE;
|
||||||
|
+
|
||||||
|
+ if ((strlen(dir->directory) + sizeof(FontAliasFile)) > sizeof(dir_file))
|
||||||
|
+ return FALSE;
|
||||||
|
strcpy (dir_file, dir->directory);
|
||||||
|
strcat (dir_file, FontAliasFile);
|
||||||
|
if (stat (dir_file, &statb) == -1)
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 14 12:16:06 CEST 2008 - sndirsch@suse.de
|
||||||
|
|
||||||
|
- libXfont-commit-0f9db4a.diff
|
||||||
|
* fixes 2 byte buffer overflow (bnc #390065)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de
|
Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ Provides: libXaw.so.8 libXaw.so.7 libXaw.so.6
|
|||||||
%endif
|
%endif
|
||||||
Url: http://xorg.freedesktop.org/
|
Url: http://xorg.freedesktop.org/
|
||||||
Version: 7.3
|
Version: 7.3
|
||||||
Release: 50
|
Release: 58
|
||||||
License: X11/MIT
|
License: X11/MIT
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
@ -65,6 +65,7 @@ Patch3: p_xft_cjk.diff
|
|||||||
Patch4: p_xft_register.diff
|
Patch4: p_xft_register.diff
|
||||||
Patch5: libxkbui.diff
|
Patch5: libxkbui.diff
|
||||||
Patch10: libXxf86misc-xcb.diff
|
Patch10: libXxf86misc-xcb.diff
|
||||||
|
Patch11: libXfont-commit-0f9db4a.diff
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains the remaining X.Org libraries.
|
This package contains the remaining X.Org libraries.
|
||||||
@ -150,6 +151,9 @@ popd
|
|||||||
pushd libXxf86misc-*
|
pushd libXxf86misc-*
|
||||||
%patch10 -p0
|
%patch10 -p0
|
||||||
popd
|
popd
|
||||||
|
pushd libXfont-*
|
||||||
|
%patch11 -p1
|
||||||
|
popd
|
||||||
|
|
||||||
%build
|
%build
|
||||||
for dir in libXft1-* xbitmaps-* $(ls | grep -v -e libXft1 -e xbitmaps); do
|
for dir in libXft1-* xbitmaps-* $(ls | grep -v -e libXft1 -e xbitmaps); do
|
||||||
@ -222,6 +226,9 @@ exit 0
|
|||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed May 14 2008 sndirsch@suse.de
|
||||||
|
- libXfont-commit-0f9db4a.diff
|
||||||
|
* fixes 2 byte buffer overflow (bnc #390065)
|
||||||
* Thu Apr 10 2008 ro@suse.de
|
* Thu Apr 10 2008 ro@suse.de
|
||||||
- added baselibs.conf file to build xxbit packages
|
- added baselibs.conf file to build xxbit packages
|
||||||
for multilib support
|
for multilib support
|
||||||
|
Loading…
Reference in New Issue
Block a user