Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 893d9bab84a8fa4a4dd6d5e6575c2f4f > files > 7

libX11-1.0.3-11.el5_7.1.src.rpm

--- libX11-1.0.3/src/ImUtil.c.int-overflow.patch	2007-03-22 14:24:11.000000000 -0400
+++ libX11-1.0.3/src/ImUtil.c	2007-03-22 14:24:16.000000000 -0400
@@ -385,6 +385,8 @@
     XImage *image;
 {
 	if (image->depth == 0 || image->depth > 32 ||
+	    image->bits_per_pixel > 32 || image->bitmap_unit > 32 ||
+	    image->bits_per_pixel < 0 || image->bitmap_unit < 0 ||
 	    (image->format != XYBitmap &&
 	     image->format != XYPixmap &&
 	     image->format != ZPixmap) ||