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

Bug#852965: marked as done (jessie-pu: package libxvmc/2:1.0.8-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 #852965,
regarding jessie-pu: package libxvmc/2:1.0.8-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.)


-- 
852965: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=852965
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

Getting there, promise.

Cheers,
Julien

diff -u libxvmc-1.0.8/debian/changelog libxvmc-1.0.8/debian/changelog
--- libxvmc-1.0.8/debian/changelog
+++ libxvmc-1.0.8/debian/changelog
@@ -1,3 +1,9 @@
+libxvmc (2:1.0.8-2+deb8u1) jessie; urgency=medium
+
+  * Avoid buffer underflow on empty strings (CVE-2016-7953)
+
+ -- Julien Cristau <jcristau@debian.org>  Sat, 07 Jan 2017 16:34:22 +0100
+
 libxvmc (2:1.0.8-2) unstable; urgency=low
 
   * Link libXvMCW.so against -ldl (closes: #610592)
only in patch2:
unchanged:
--- libxvmc-1.0.8.orig/src/XvMC.c
+++ libxvmc-1.0.8/src/XvMC.c
@@ -587,9 +587,9 @@
 	if (*name && *busID && tmpBuf) {
 	    _XRead(dpy, tmpBuf, realSize);
 	    strncpy(*name,tmpBuf,rep.nameLen);
-	    (*name)[rep.nameLen - 1] = '\0';
+	    (*name)[rep.nameLen == 0 ? 0 : rep.nameLen - 1] = '\0';
 	    strncpy(*busID,tmpBuf+rep.nameLen,rep.busIDLen);
-	    (*busID)[rep.busIDLen - 1] = '\0';
+	    (*busID)[rep.busIDLen == 0 ? 0 : rep.busIDLen - 1] = '\0';
 	    XFree(tmpBuf);
 	} else {
 	    XFree(*name);

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: