Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 189581 Details for
Bug 281921
CVE-2007-4568 xfs integer overflow in the build_range function
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Upstream patch against X.Org 7.2 for first issue.
xfs-idef2708.diff (text/plain), 1.06 KB, created by
Tomas Hoger
on 2007-09-07 07:40:49 UTC
(
hide
)
Description:
Upstream patch against X.Org 7.2 for first issue.
Filename:
MIME Type:
Creator:
Tomas Hoger
Created:
2007-09-07 07:40:49 UTC
Size:
1.06 KB
patch
obsolete
>diff --git a/configure.ac b/configure.ac >index 748b8ce..6924e10 100644 >--- a/configure.ac >+++ b/configure.ac >@@ -41,6 +41,8 @@ case $host_os in > ;; > esac > >+AC_CHECK_HEADERS([stdint.h]) >+ > # Checks for pkg-config packages > PKG_CHECK_MODULES(XFS, libfs xfont xtrans) > XFS_CFLAGS="$XFS_CFLAGS $OS_CFLAGS" >diff --git a/difs/fontinfo.c b/difs/fontinfo.c >index 23893e0..f10b705 100644 >--- a/difs/fontinfo.c >+++ b/difs/fontinfo.c >@@ -62,6 +62,21 @@ in this Software without prior written authorization from The Open Group. > #include <swapreq.h> > #include <swaprep.h> > >+#ifdef HAVE_CONFIG_H >+#include <config.h> >+#endif >+#ifdef HAVE_STDINT_H >+#include <stdint.h> >+#endif >+#include <limits.h> >+#ifndef SIZE_MAX >+# ifdef ULONG_MAX >+# define SIZE_MAX ULONG_MAX >+# else >+# define SIZE_MAX UINT_MAX >+# endif >+#endif >+ > void > CopyCharInfo( > CharInfoPtr ci, >@@ -181,6 +196,8 @@ build_range( > return new; > } > >+ if (src_num >= SIZE_MAX / sizeof(fsRange) * 2 - 1) >+ return NULL; > np = new = (fsRange *) fsalloc(sizeof(fsRange) * (src_num + 1) / 2); > if (!np) > return np;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 281921
:
189581
|
189591
|
197041