]> git.pld-linux.org Git - packages/X11.git/commitdiff
- replaced RedHat's tdfx-enable-interlaced-modes joke (which didn't actualy XFree86-4_2_1-3
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 18 Sep 2002 17:36:01 +0000 (17:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  set interlace) with proper interlace patch (tested on Voodoo4 4500: OK)
- added Xfont-Type1-large-DoS patch - prevent xfs or Xserver DoS on large Type1
  font request (problably not the only one - Type1 Xfont backend contains many
  abort()s; it's to be rewritten (basing on freetype2) in X 4.3.0 and XFree86
  team is not going to fix broken error handling in current version)
- added GLcore-strip-a-workaround patch - workaround for "strip -g *.a" -
  caused libGLcore.a load failure with "debug_xform.o: no symbols"
- added workaround for gcc3 ICE on athlon

Changed files:
    XFree86-GLcore-strip-a-workaround.patch -> 1.1
    XFree86-Xfont-Type1-large-DoS.patch -> 1.1

XFree86-GLcore-strip-a-workaround.patch [new file with mode: 0644]
XFree86-Xfont-Type1-large-DoS.patch [new file with mode: 0644]

diff --git a/XFree86-GLcore-strip-a-workaround.patch b/XFree86-GLcore-strip-a-workaround.patch
new file mode 100644 (file)
index 0000000..0ef68cd
--- /dev/null
@@ -0,0 +1,18 @@
+--- XFree86-4.2.1/xc/lib/GL/mesa/src/Imakefile.inc.orig        Tue Apr  3 00:15:47 2001
++++ XFree86-4.2.1/xc/lib/GL/mesa/src/Imakefile.inc     Wed Sep 18 16:11:39 2002
+@@ -197,7 +197,6 @@
+               $(MESABUILDDIR)context.o \
+               $(MESABUILDDIR)copypix.o \
+               $(MESABUILDDIR)cva.o \
+-              $(MESABUILDDIR)debug_xform.o \
+               $(MESABUILDDIR)depth.o \
+               $(MESABUILDDIR)dlist.o \
+               $(DISPATCHOBJS) \
+@@ -282,7 +281,6 @@
+               $(MESABUILDDIR)unshared/context.o \
+               $(MESABUILDDIR)unshared/copypix.o \
+               $(MESABUILDDIR)unshared/cva.o \
+-              $(MESABUILDDIR)unshared/debug_xform.o \
+               $(MESABUILDDIR)unshared/depth.o \
+               $(DISPATCHUOBJS) \
+               $(MESABUILDDIR)unshared/dlist.o \
diff --git a/XFree86-Xfont-Type1-large-DoS.patch b/XFree86-Xfont-Type1-large-DoS.patch
new file mode 100644 (file)
index 0000000..610d45e
--- /dev/null
@@ -0,0 +1,13 @@
+--- XFree86-4.2.1/xc/lib/font/Type1/t1funcs.c.orig     Fri Dec 14 20:56:44 2001
++++ XFree86-4.2.1/xc/lib/font/Type1/t1funcs.c  Wed Sep 18 16:04:20 2002
+@@ -523,7 +523,9 @@
+        if (hypot(vals->pixel_matrix[0], vals->pixel_matrix[1]) < 1.0 ||
+          hypot(vals->pixel_matrix[2], vals->pixel_matrix[3]) < 1.0)
+          return BadFontName;
+-
++       /* Reject large sizes too - may cause DoS in xfs or X-server due to abort() */
++       if (hypot(vals->pixel_matrix[0], vals->pixel_matrix[3]) > 5000.0)
++         return BadFontName;
+        /* set up default values */
+        FontDefaultFormat(&bit, &byte, &glyph, &scan);
+        /* get any changes made from above */
This page took 0.048414 seconds and 4 git commands to generate.