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 #852961, regarding jessie-pu: package libxv/2:1.0.10-1+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.) -- 852961: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=852961 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: jessie-pu: package libxv/2:1.0.10-1+deb8u1
- From: Julien Cristau <jcristau@debian.org>
- Date: Sat, 28 Jan 2017 16:05:25 +0100
- Message-id: <20170128150525.hfuxul25f77p4gnq@betterave.cristau.org>
Package: release.debian.org Severity: normal Tags: jessie User: release.debian.org@packages.debian.org Usertags: pu We're getting used to this by now aren't we. Cheers, Julien diff -u libxv-1.0.10/debian/changelog libxv-1.0.10/debian/changelog --- libxv-1.0.10/debian/changelog +++ libxv-1.0.10/debian/changelog @@ -1,3 +1,9 @@ +libxv (2:1.0.10-1+deb8u1) jessie; urgency=high + + * Protocol handling issues in libXv (CVE-2016-5407) + + -- Julien Cristau <jcristau@debian.org> Sat, 07 Jan 2017 16:38:45 +0100 + libxv (2:1.0.10-1) unstable; urgency=medium * New upstream release. only in patch2: unchanged: --- libxv-1.0.10.orig/src/Xv.c +++ libxv-1.0.10/src/Xv.c @@ -158,6 +158,7 @@ size_t size; unsigned int ii, jj; char *name; + char *end; XvAdaptorInfo *pas = NULL, *pa; XvFormat *pfs, *pf; char *buffer = NULL; @@ -197,17 +198,13 @@ /* GET INPUT ADAPTORS */ if (rep.num_adaptors == 0) { - /* If there's no adaptors, there's nothing more to do. */ + /* If there are no adaptors, there's nothing more to do. */ status = Success; goto out; } - if (size < (rep.num_adaptors * sz_xvAdaptorInfo)) { - /* If there's not enough data for the number of adaptors, - then we have a problem. */ - status = XvBadReply; - goto out; - } + u.buffer = buffer; + end = buffer + size; size = rep.num_adaptors * sizeof(XvAdaptorInfo); if ((pas = Xmalloc(size)) == NULL) { @@ -225,9 +222,12 @@ pa++; } - u.buffer = buffer; pa = pas; for (ii = 0; ii < rep.num_adaptors; ii++) { + if (u.buffer + sz_xvAdaptorInfo > end) { + status = XvBadReply; + goto out; + } pa->type = u.pa->type; pa->base_id = u.pa->base_id; pa->num_ports = u.pa->num_ports; @@ -239,6 +239,10 @@ size = u.pa->name_size; u.buffer += pad_to_int32(sz_xvAdaptorInfo); + if (u.buffer + size > end) { + status = XvBadReply; + goto out; + } if ((name = Xmalloc(size + 1)) == NULL) { status = XvBadAlloc; goto out; @@ -259,6 +263,11 @@ pf = pfs; for (jj = 0; jj < pa->num_formats; jj++) { + if (u.buffer + sz_xvFormat > end) { + Xfree(pfs); + status = XvBadReply; + goto out; + } pf->depth = u.pf->depth; pf->visual_id = u.pf->visual; pf++; @@ -327,6 +336,7 @@ size_t size; unsigned int jj; char *name; + char *end; XvEncodingInfo *pes = NULL, *pe; char *buffer = NULL; union { @@ -364,17 +374,13 @@ /* GET ENCODINGS */ if (rep.num_encodings == 0) { - /* If there's no encodings, there's nothing more to do. */ + /* If there are no encodings, there's nothing more to do. */ status = Success; goto out; } - if (size < (rep.num_encodings * sz_xvEncodingInfo)) { - /* If there's not enough data for the number of adaptors, - then we have a problem. */ - status = XvBadReply; - goto out; - } + u.buffer = buffer; + end = buffer + size; size = rep.num_encodings * sizeof(XvEncodingInfo); if ((pes = Xmalloc(size)) == NULL) { @@ -391,10 +397,12 @@ pe++; } - u.buffer = buffer; - pe = pes; for (jj = 0; jj < rep.num_encodings; jj++) { + if (u.buffer + sz_xvEncodingInfo > end) { + status = XvBadReply; + goto out; + } pe->encoding_id = u.pe->encoding; pe->width = u.pe->width; pe->height = u.pe->height; @@ -405,6 +413,10 @@ size = u.pe->name_size; u.buffer += pad_to_int32(sz_xvEncodingInfo); + if (u.buffer + size > end) { + status = XvBadReply; + goto out; + } if ((name = Xmalloc(size + 1)) == NULL) { status = XvBadAlloc; goto out;Attachment: signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
- To: 815728-done@bugs.debian.org, 840643-done@bugs.debian.org, 852849-done@bugs.debian.org, 852947-done@bugs.debian.org, 852949-done@bugs.debian.org, 852952-done@bugs.debian.org, 852958-done@bugs.debian.org, 852961-done@bugs.debian.org, 852965-done@bugs.debian.org, 852966-done@bugs.debian.org, 856240-done@bugs.debian.org, 861541-done@bugs.debian.org, 862363-done@bugs.debian.org, 862961-done@bugs.debian.org, 863093-done@bugs.debian.org, 867817-done@bugs.debian.org, 868337-done@bugs.debian.org, 869991-done@bugs.debian.org, 870178-done@bugs.debian.org, 870376-done@bugs.debian.org, 872056-done@bugs.debian.org, 872442-done@bugs.debian.org, 873053-done@bugs.debian.org, 873310-done@bugs.debian.org, 873466-done@bugs.debian.org, 873481-done@bugs.debian.org, 873877-done@bugs.debian.org, 876019-done@bugs.debian.org, 876313-done@bugs.debian.org, 876630-done@bugs.debian.org, 876638-done@bugs.debian.org, 877045-done@bugs.debian.org, 879630-done@bugs.debian.org, 880123-done@bugs.debian.org, 880630-done@bugs.debian.org, 880861-done@bugs.debian.org, 880895-done@bugs.debian.org, 881306-done@bugs.debian.org, 882061-done@bugs.debian.org, 882132-done@bugs.debian.org, 882242-done@bugs.debian.org, 882503-done@bugs.debian.org, 882802-done@bugs.debian.org, 882960-done@bugs.debian.org, 882961-done@bugs.debian.org, 883177-done@bugs.debian.org, 883292-done@bugs.debian.org
- Subject: Closing bugs for updates included in jessie point release
- From: "Adam D. Barratt" <adam@adam-barratt.org.uk>
- Date: Sat, 09 Dec 2017 10:47:53 +0000
- Message-id: <1512816473.1994.32.camel@adam-barratt.org.uk>
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 ---