[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#852949: marked as done (jessie-pu: package libxfixes/1:5.0.1-2+deb8u1)



Your message dated Sat, 09 Dec 2017 10:47:53 +0000
with message-id <1512816473.1994.32.camel@adam-barratt.org.uk>
and subject line Closing bugs for updates included in jessie point release
has caused the Debian Bug report #852949,
regarding jessie-pu: package libxfixes/1:5.0.1-2+deb8u1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
852949: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=852949
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
Tags: jessie
User: release.debian.org@packages.debian.org
Usertags: pu

CVE fix, already in wheezy-lts and sid.

Cheers,
Julien

diff -u libxfixes-5.0.1/debian/changelog libxfixes-5.0.1/debian/changelog
--- libxfixes-5.0.1/debian/changelog
+++ libxfixes-5.0.1/debian/changelog
@@ -1,3 +1,9 @@
+libxfixes (1:5.0.1-2+deb8u1) jessie; urgency=high
+
+  * Integer overflow on illegal server response (CVE-2016-7944)
+
+ -- Julien Cristau <jcristau@debian.org>  Sat, 07 Jan 2017 16:30:24 +0100
+
 libxfixes (1:5.0.1-2) sid; urgency=low
 
   * Mark libxfixes-dev as Multi-arch: same (closes: #677657).
only in patch2:
unchanged:
--- libxfixes-5.0.1.orig/src/Region.c
+++ libxfixes-5.0.1/src/Region.c
@@ -23,6 +23,7 @@
 #ifdef HAVE_CONFIG_H
 #include <config.h>
 #endif
+#include <limits.h>
 #include "Xfixesint.h"
 
 XserverRegion
@@ -333,9 +334,17 @@
     bounds->y = rep.y;
     bounds->width = rep.width;
     bounds->height = rep.height;
-    nbytes = (long) rep.length << 2;
-    nrects = rep.length >> 1;
-    rects = Xmalloc (nrects * sizeof (XRectangle));
+
+    if (rep.length < (INT_MAX >> 2)) {
+	nbytes = (long) rep.length << 2;
+	nrects = rep.length >> 1;
+	rects = Xmalloc (nrects * sizeof (XRectangle));
+    } else {
+	nbytes = 0;
+	nrects = 0;
+	rects = NULL;
+    }
+
     if (!rects)
     {
 	_XEatDataWords(dpy, rep.length);

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Version: 8.10

Hi,

Each of the updates referenced in these bugs was included in this
morning's jessie point release. Thanks!

Regards,

Adam

--- End Message ---

Reply to: