Upcoming stable point release (8.8)

2017-04-11 Thread Adam D. Barratt
Hi,

The next point release for "jessie" (8.8) is scheduled for Saturday, May
6th. Processing of new uploads into jessie-proposed-updates will be
frozen during the preceding weekend.

Regards,

Adam



[glibc] 01/01: releasing package glibc version 2.24-10

2017-04-11 Thread Aurelien Jarno
This is an automated email from the git hooks/post-receive script.

aurel32 pushed a commit to branch sid
in repository glibc.

commit c043074d03ba5c9965abebd1074d9a6443f6c100
Author: Aurelien Jarno 
Date:   Wed Apr 12 00:14:03 2017 +0200

releasing package glibc version 2.24-10
---
 debian/changelog | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 909783e..44da152 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-glibc (2.24-10) UNRELEASED; urgency=medium
+glibc (2.24-10) unstable; urgency=medium
 
   [ Samuel Thibault ]
   * hurd-i386/cvs-truncate64.diff: New patch to support 64bit truncate.
@@ -22,7 +22,7 @@ glibc (2.24-10) UNRELEASED; urgency=medium
 environment (e.g.: kernel) do not prevent security or stable versions
 to be built.
 
- -- Aurelien Jarno   Mon, 16 Jan 2017 18:46:54 +0100
+ -- Aurelien Jarno   Wed, 12 Apr 2017 00:13:55 +0200
 
 glibc (2.24-9) unstable; urgency=medium
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-glibc/glibc.git



[glibc] 01/01: New changelog entry

2017-04-11 Thread Aurelien Jarno
This is an automated email from the git hooks/post-receive script.

aurel32 pushed a commit to branch sid
in repository glibc.

commit d03b8b02c9e1bb999fce04df4ec29488d1451abc
Author: Aurelien Jarno 
Date:   Wed Apr 12 00:16:52 2017 +0200

New changelog entry
---
 debian/changelog | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 44da152..013de95 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+glibc (2.24-11) UNRELEASED; urgency=medium
+
+  * 
+
+ -- Aurelien Jarno   Wed, 12 Apr 2017 00:16:49 +0200
+
 glibc (2.24-10) unstable; urgency=medium
 
   [ Samuel Thibault ]

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-glibc/glibc.git



[glibc] branch sid updated (0945cf6 -> c043074)

2017-04-11 Thread Aurelien Jarno
This is an automated email from the git hooks/post-receive script.

aurel32 pushed a change to branch sid
in repository glibc.

  from  0945cf6   Revert "patches/any/submitted-if.h-conflict.diff: new 
patch to fix the conflict between  and .  Closes: 
#824442."
   new  c043074   releasing package glibc version 2.24-10

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/changelog | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-glibc/glibc.git



[glibc] annotated tag debian/2.24-10 created (now 963bfaf)

2017-04-11 Thread Aurelien Jarno
This is an automated email from the git hooks/post-receive script.

aurel32 pushed a change to annotated tag debian/2.24-10
in repository glibc.

at  963bfaf   (tag)
   tagging  c043074d03ba5c9965abebd1074d9a6443f6c100 (commit)
  replaces  debian/2.24-9
 tagged by  Aurelien Jarno
on  Wed Apr 12 00:14:03 2017 +0200

- Log -
tagging package glibc version debian/2.24-10
-BEGIN PGP SIGNATURE-

iQIzBAABCgAdFiEEd0YmQqnvlP0Pdxltupx4Bh3djJsFAljtVSsACgkQupx4Bh3d
jJtVbw//cGD12b/hHWjAKpOuAjgjbpsHrrPxD001QXvFEPAyMwLie6LMOOOdxtMU
Qnt8VRfnm5a1qyEFf1iPm+E/oHu5aNPm3AkgfvA6NSmKtOJ7eIXMD9I/CxJOWpcD
pO2RNSB0Z3Mp6jl+TLYAvC02fcBQWrfqjGi0qfvoAHUUs0QNLZzmynPEPB/GWYmq
ku7CbCNrDVQqr0wX6Xem8yTPgvQT3WZwo7ZHsyVNtqbCDv+nm6hH8+rrp2ctx56W
Pyfl5D5dgYqbK5/47v8EYfEpOxuKJd0ikFkXOrdyL40e+gNAwoPzK9cRE8LKhfuD
v3GOw7k1C6/o+KFD/+dwdW2b8mQrUMaq+U/uniTmG0BXiUJTgeI7DTUPtbNDEcpn
Hg0Wcz1TLqqiybo46gPBLbZiW0a9byWqhskfcO/TtZlmWnKWUna4H+4waV0sKeot
t7dhA2fUdB5qKNRPIk5hRKSTg37Ksjt7T1O5FVY0OTQGsyNo09kIopXKuhGwZXUp
fbsffzsNrWX8kqpMzry2FevpsyuSI4x/igGX8KJZk+g33qIU0ztDFY8n0BPR7HL5
1Uo88tTnH6z3Ki9K0eRWgUNFAOLr/lMSzVZeDi9ZpL2ASPbO3mxudg8tI7HkqR/H
/nTh952VOQKpOPrhslLcs6PVkg27kyOHHR6mt3Ml6sG00N8qAwE=
=mubL
-END PGP SIGNATURE-

Aurelien Jarno (10):
  New changelog entry
  Fix hurd-i386/cvs-send-recv-posix.diff
  any/cvs-remove-pid-tid-cache-clone.diff: patch from upstream to remove 
cached PID/TID in clone.  Closes: #857909.
  debian/patches/git-updates.diff: update from upstream stable branch:
  debian/patches/git-updates.diff: update from upstream stable branch:
  debian/rules.d/build.mk: do not fail the build in case of testsuite 
regressions when building a +debXuX version. That way changes in the 
environment (e.g.: kernel) do not prevent security or stable versions to be 
built.
  Fix two typos introduced in commit 
b3fd9db4d47ecef470be5b81557e996556df0a32
  patches/any/submitted-if.h-conflict.diff: new patch to fix the conflict 
between  and .  Closes: #824442.
  Revert "patches/any/submitted-if.h-conflict.diff: new patch to fix the 
conflict between  and .  Closes: #824442."
  releasing package glibc version 2.24-10

Samuel Thibault (2):
  hurd-i386/cvs-truncate64.diff: New patch to support 64bit truncate
  hurd: make send/recv more posix

---

This annotated tag includes the following new commits:

   new  c043074   releasing package glibc version 2.24-10

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-glibc/glibc.git



Processed: Re: Bug#824442: and conflict needs to be resolved

2017-04-11 Thread Debian Bug Tracking System
Processing control commands:

> severity -1 important
Bug #860013 [linux] linux: libc-compat.h sets __UAPI_DEF_IF_* to 1 even when 
if.h hasn't been included
Severity set to 'important' from 'serious'
> severity 824442 important
Bug #824442 [src:glibc]  and  conflict needs to be 
resolved
Severity set to 'important' from 'serious'

-- 
824442: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=824442
860013: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=860013
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



[glibc] branch sid updated (c043074 -> d03b8b0)

2017-04-11 Thread Aurelien Jarno
This is an automated email from the git hooks/post-receive script.

aurel32 pushed a change to branch sid
in repository glibc.

  from  c043074   releasing package glibc version 2.24-10
   new  d03b8b0   New changelog entry

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/changelog | 6 ++
 1 file changed, 6 insertions(+)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-glibc/glibc.git



Bug#857909: marked as done ([libc6-dev] getpid() in child process created using clone(CLONE_VM) returns parent's pid)

2017-04-11 Thread Debian Bug Tracking System
Your message dated Tue, 11 Apr 2017 22:34:09 +
with message-id 
and subject line Bug#857909: fixed in glibc 2.24-10
has caused the Debian Bug report #857909,
regarding [libc6-dev] getpid() in child process created using clone(CLONE_VM) 
returns parent's pid
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 ow...@bugs.debian.org
immediately.)


-- 
857909: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=857909
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libc6-dev
Version: 2.24-9
Severity: grave

Dear Maintainer,

the program below shows the problem, happening on my Debian laptop.
When I create a child using clone(CLONE_VM), glibc's clone wrapper
does not update cached pid, and I receive parent's pid in getpid().
Here is output of the program:

$strace -o strace.log -f ./a.out
parent: pid=17530
parent: fork pid=17531
1)child: pid=17531
2)child: pid=17530

When CLONE_VM flag is not passed, the problem does not occur.
My case is not in the list of the cases, described in clone(2),
when wrong pid may be returned, so this is a BUG.

Regards,
Kirill

P.S. Strange, but reportbug-ng did not fill packages versions. So,
I do this manually:

$ dpkg-query -l 'libc6*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name  Version Architecture
Description
+++-=-===-===-
ii  libc6:amd64   2.24-9  amd64   GNU C 
Library: Shared libraries
ii  libc6:i3862.24-9  i386GNU C 
Library: Shared libraries
ii  libc6-amd64:i386  2.24-9  i386GNU C 
Library: 64bit Shared libraries for AMD64
ii  libc6-arm64-cross 2.24-9cross3all GNU C 
Library: Shared libraries (for cross-compiling)
un  libc6-arm64-dcv1  (no 
description available)
ii  libc6-dbg:amd64   2.24-9  amd64   GNU C 
Library: detached debugging symbols
ii  libc6-dev:amd64   2.24-9  amd64   GNU C 
Library: Development Libraries and Header Files
ii  libc6-dev-arm64-cross 2.24-9cross3all GNU C 
Library: Development Libraries and Header Files (for cross
un  libc6-dev-arm64-dcv1  (no 
description available)
ii  libc6-dev-i3862.24-9  amd64   GNU C 
Library: 32-bit development libraries for AMD64
ii  libc6-dev-x32 2.24-9  amd64   GNU C 
Library: X32 ABI Development Libraries for AMD64
ii  libc6-i3862.24-9  amd64   GNU C 
Library: 32-bit shared libraries for AMD64
un  libc6-i686(no 
description available)
ii  libc6-x32 2.24-9  amd64   GNU C 
Library: X32 ABI Shared libraries for AMD64
un  libc6.1   (no 
description available)
un  libc6.1-dev   (no 
description available)
un  libc6.1-dev-arm64-cross   (no 
description available)


#define _GNU_SOURCE
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 

int child(void *a)
{
printf("1)child: pid=%d\n", syscall(__NR_getpid));
printf("2)child: pid=%d\n", getpid());
return 0;
}

int main(void)
{
int stack_size = 2 * 1024 * 1024;
char *stack = mmap(NULL, stack_size, PROT_WRITE | PROT_READ, 
MAP_ANONYMOUS | MAP_PRIVATE, -1, 0);
pid_t pid;
if (stack == MAP_FAILED) {
perror("Can't allocate stack");
exit(1);
}

setbuf(stdout, NULL);

printf("parent: pid=%d\n", getpid());
pid = clone(child, stack + stack_size, CLONE_VM | CLONE_FILES | 
SIGCHLD, NULL);
printf("parent: fork pid=%d\n", pid);
}

--- System information. ---
Architecture: 
Kernel:   Linux 4.10.1+

Debian Release: 9.0
  500 unstableftp.ru.debian.org 
  500 testing ftp.ru.debian.org 
  500 stable-updates  ftp.ru.debian.org 
  500 stable  security.debian.org 
  500 stable  ftp.ru.debian.org 
1 experimentalftp.ru.debian.org 

--- Pa

Processing of glibc_2.24-10_source.changes

2017-04-11 Thread Debian FTP Masters
glibc_2.24-10_source.changes uploaded successfully to localhost
along with the files:
  glibc_2.24-10.dsc
  glibc_2.24-10.debian.tar.xz
  glibc_2.24-10_source.buildinfo

Greetings,

Your Debian queue daemon (running on host usper.debian.org)



glibc_2.24-10_source.changes ACCEPTED into unstable

2017-04-11 Thread Debian FTP Masters


Accepted:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Wed, 12 Apr 2017 00:13:55 +0200
Source: glibc
Binary: libc-bin libc-dev-bin libc-l10n glibc-doc glibc-source locales 
locales-all nscd multiarch-support libc6 libc6-dev libc6-dbg libc6-pic 
libc6-udeb libc6.1 libc6.1-dev libc6.1-dbg libc6.1-pic libc6.1-udeb libc0.3 
libc0.3-dev libc0.3-dbg libc0.3-pic libc0.3-udeb libc0.1 libc0.1-dev 
libc0.1-dbg libc0.1-pic libc0.1-udeb libc6-i386 libc6-dev-i386 libc6-sparc 
libc6-dev-sparc libc6-sparc64 libc6-dev-sparc64 libc6-s390 libc6-dev-s390 
libc6-amd64 libc6-dev-amd64 libc6-powerpc libc6-dev-powerpc libc6-ppc64 
libc6-dev-ppc64 libc6-mips32 libc6-dev-mips32 libc6-mipsn32 libc6-dev-mipsn32 
libc6-mips64 libc6-dev-mips64 libc0.1-i386 libc0.1-dev-i386 libc6-x32 
libc6-dev-x32 libc6-xen libc0.3-xen libc6.1-alphaev67 libc0.1-i686 libc0.3-i686 
libc6-i686
Architecture: source
Version: 2.24-10
Distribution: unstable
Urgency: medium
Maintainer: GNU Libc Maintainers 
Changed-By: Aurelien Jarno 
Description:
 glibc-doc  - GNU C Library: Documentation
 glibc-source - GNU C Library: sources
 libc-bin   - GNU C Library: Binaries
 libc-dev-bin - GNU C Library: Development binaries
 libc-l10n  - GNU C Library: localization files
 libc0.1- GNU C Library: Shared libraries
 libc0.1-dbg - GNU C Library: detached debugging symbols
 libc0.1-dev - GNU C Library: Development Libraries and Header Files
 libc0.1-dev-i386 - GNU C Library: 32bit development libraries for AMD64
 libc0.1-i386 - GNU C Library: 32bit shared libraries for AMD64
 libc0.1-i686 - transitional dummy package
 libc0.1-pic - GNU C Library: PIC archive library
 libc0.1-udeb - GNU C Library: Shared libraries - udeb (udeb)
 libc0.3- GNU C Library: Shared libraries
 libc0.3-dbg - GNU C Library: detached debugging symbols
 libc0.3-dev - GNU C Library: Development Libraries and Header Files
 libc0.3-i686 - transitional dummy package
 libc0.3-pic - GNU C Library: PIC archive library
 libc0.3-udeb - GNU C Library: Shared libraries - udeb (udeb)
 libc0.3-xen - GNU C Library: Shared libraries [Xen version]
 libc6  - GNU C Library: Shared libraries
 libc6-amd64 - GNU C Library: 64bit Shared libraries for AMD64
 libc6-dbg  - GNU C Library: detached debugging symbols
 libc6-dev  - GNU C Library: Development Libraries and Header Files
 libc6-dev-amd64 - GNU C Library: 64bit Development Libraries for AMD64
 libc6-dev-i386 - GNU C Library: 32-bit development libraries for AMD64
 libc6-dev-mips32 - GNU C Library: o32 Development Libraries for MIPS
 libc6-dev-mips64 - GNU C Library: 64bit Development Libraries for MIPS64
 libc6-dev-mipsn32 - GNU C Library: n32 Development Libraries for MIPS64
 libc6-dev-powerpc - GNU C Library: 32bit powerpc development libraries for 
ppc64
 libc6-dev-ppc64 - GNU C Library: 64bit Development Libraries for PowerPC64
 libc6-dev-s390 - GNU C Library: 32bit Development Libraries for IBM zSeries
 libc6-dev-sparc - GNU C Library: 32bit Development Libraries for SPARC
 libc6-dev-sparc64 - GNU C Library: 64bit Development Libraries for UltraSPARC
 libc6-dev-x32 - GNU C Library: X32 ABI Development Libraries for AMD64
 libc6-i386 - GNU C Library: 32-bit shared libraries for AMD64
 libc6-i686 - transitional dummy package
 libc6-mips32 - GNU C Library: o32 Shared libraries for MIPS
 libc6-mips64 - GNU C Library: 64bit Shared libraries for MIPS64
 libc6-mipsn32 - GNU C Library: n32 Shared libraries for MIPS64
 libc6-pic  - GNU C Library: PIC archive library
 libc6-powerpc - GNU C Library: 32bit powerpc shared libraries for ppc64
 libc6-ppc64 - GNU C Library: 64bit Shared libraries for PowerPC64
 libc6-s390 - GNU C Library: 32bit Shared libraries for IBM zSeries
 libc6-sparc - GNU C Library: 32bit Shared libraries for SPARC
 libc6-sparc64 - GNU C Library: 64bit Shared libraries for UltraSPARC
 libc6-udeb - GNU C Library: Shared libraries - udeb (udeb)
 libc6-x32  - GNU C Library: X32 ABI Shared libraries for AMD64
 libc6-xen  - GNU C Library: Shared libraries [Xen version]
 libc6.1- GNU C Library: Shared libraries
 libc6.1-alphaev67 - GNU C Library: Shared libraries (EV67 optimized)
 libc6.1-dbg - GNU C Library: detached debugging symbols
 libc6.1-dev - GNU C Library: Development Libraries and Header Files
 libc6.1-pic - GNU C Library: PIC archive library
 libc6.1-udeb - GNU C Library: Shared libraries - udeb (udeb)
 locales- GNU C Library: National Language (locale) data [support]
 locales-all - GNU C Library: Precompiled locale data
 multiarch-support - Transitional package to ensure multiarch compatibility
 nscd   - GNU C Library: Name Service Cache Daemon
Closes: 857909
Changes:
 glibc (2.24-10) unstable; urgency=medium
 .
   [ Samuel Thibault ]
   * hurd-i386/cvs-truncate64.diff: New patch to support 64bit truncate.
   * hurd-i386/cvs-send-recv-posix.diff: New patch to make send/recv more
 posix.
 .
   [ Aurelien Jarno ]
   * debian/patches/git-updates.diff: update from upstream stable branch:
 - Fix 

[glibc] 01/01: patches/any/cvs-resolv-internal-qtype.diff: patch from upstream to fix a NULL pointer dereference in libresolv when receiving a T_UNSPEC internal QTYPE (CVE-2015-5180). Closes: #796106.

2017-04-11 Thread Aurelien Jarno
This is an automated email from the git hooks/post-receive script.

aurel32 pushed a commit to branch jessie
in repository glibc.

commit 138de87c1f40c651dce664d76bbf1902eb853cb8
Author: Aurelien Jarno 
Date:   Wed Apr 12 00:34:46 2017 +0200

patches/any/cvs-resolv-internal-qtype.diff: patch from upstream to fix a 
NULL pointer dereference in libresolv when receiving a T_UNSPEC internal QTYPE 
(CVE-2015-5180).  Closes: #796106.
---
 debian/changelog  |  3 +
 debian/patches/any/cvs-resolv-internal-qtype.diff | 78 +++
 debian/patches/series |  1 +
 3 files changed, 82 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index ffbd139..5a26d07 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,9 @@ glibc (2.19-18+deb8u8) UNRELEASED; urgency=medium
   [ Aurelien Jarno ]
   * Update from upstream stable branch:
 - Fix PowerPC sqrt inaccuracy.  Closes: #855606.
+  * patches/any/cvs-resolv-internal-qtype.diff: patch from upstream to fix a
+NULL pointer dereference in libresolv when receiving a T_UNSPEC internal
+QTYPE (CVE-2015-5180).  Closes: #796106.
 
  -- Aurelien Jarno   Mon, 20 Feb 2017 23:30:47 +0100
 
diff --git a/debian/patches/any/cvs-resolv-internal-qtype.diff 
b/debian/patches/any/cvs-resolv-internal-qtype.diff
new file mode 100644
index 000..670d671
--- /dev/null
+++ b/debian/patches/any/cvs-resolv-internal-qtype.diff
@@ -0,0 +1,78 @@
+2016-12-31  Florian Weimer  
+
+   [BZ #18784]
+   CVE-2015-5180
+   * include/arpa/nameser_compat.h (T_QUERY_A_AND_): Rename from
+   T_UNSPEC.  Adjust value.
+   * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
+   * resolv/res_query.c (__libc_res_nquery): Likewise.
+   * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
+   QTYPEs.
+
+--- a/include/arpa/nameser_compat.h
 b/include/arpa/nameser_compat.h
+@@ -1,8 +1,8 @@
+ #ifndef _ARPA_NAMESER_COMPAT_
+ #include 
+ 
+-/* Picksome unused number to represent lookups of IPv4 and IPv6 (i.e.,
+-   T_A and T_).  */
+-#define T_UNSPEC 62321
++/* The number is outside the 16-bit RR type range and is used
++   internally by the implementation.  */
++#define T_QUERY_A_AND_ 439963904
+ 
+ #endif
+--- a/resolv/nss_dns/dns-host.c
 b/resolv/nss_dns/dns-host.c
+@@ -323,7 +323,7 @@
+ 
+   int olderr = errno;
+   enum nss_status status;
+-  int n = __libc_res_nsearch (&_res, name, C_IN, T_UNSPEC,
++  int n = __libc_res_nsearch (&_res, name, C_IN, T_QUERY_A_AND_,
+ host_buffer.buf->buf, 2048, &host_buffer.ptr,
+ &ans2p, &nans2p, &resplen2, &ans2p_malloced);
+   if (n >= 0)
+--- a/resolv/res_mkquery.c
 b/resolv/res_mkquery.c
+@@ -103,6 +103,10 @@
+   int n;
+   u_char *dnptrs[20], **dpp, **lastdnptr;
+ 
++  if (class < 0 || class > 65535
++  || type < 0 || type > 65535)
++return -1;
++
+ #ifdef DEBUG
+   if (statp->options & RES_DEBUG)
+   printf(";; res_nmkquery(%s, %s, %s, %s)\n",
+--- a/resolv/res_query.c
 b/resolv/res_query.c
+@@ -122,7 +122,7 @@
+   int n, use_malloc = 0;
+   u_int oflags = statp->_flags;
+ 
+-  size_t bufsize = (type == T_UNSPEC ? 2 : 1) * QUERYSIZE;
++  size_t bufsize = (type == T_QUERY_A_AND_ ? 2 : 1) * QUERYSIZE;
+   u_char *buf = alloca (bufsize);
+   u_char *query1 = buf;
+   int nquery1 = -1;
+@@ -137,7 +137,7 @@
+   printf(";; res_query(%s, %d, %d)\n", name, class, type);
+ #endif
+ 
+-  if (type == T_UNSPEC)
++  if (type == T_QUERY_A_AND_)
+ {
+   n = res_nmkquery(statp, QUERY, name, class, T_A, NULL, 0, NULL,
+query1, bufsize);
+@@ -190,7 +190,7 @@
+   if (__builtin_expect (n <= 0, 0) && !use_malloc) {
+   /* Retry just in case res_nmkquery failed because of too
+  short buffer.  Shouldn't happen.  */
+-  bufsize = (type == T_UNSPEC ? 2 : 1) * MAXPACKET;
++  bufsize = (type == T_QUERY_A_AND_ ? 2 : 1) * MAXPACKET;
+   buf = malloc (bufsize);
+   if (buf != NULL) {
+   query1 = buf;
diff --git a/debian/patches/series b/debian/patches/series
index 746f71c..2ef5384 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -274,3 +274,4 @@ any/cvs-wscanf.diff
 any/cvs-ldconfig-aux-cache.diff
 any/cvs-grantpt-pty-owner.diff
 any/cvs-hesiod-resolver.diff
+any/cvs-resolv-internal-qtype.diff

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-glibc/glibc.git



[glibc] branch jessie updated (b26c084 -> 138de87)

2017-04-11 Thread Aurelien Jarno
This is an automated email from the git hooks/post-receive script.

aurel32 pushed a change to branch jessie
in repository glibc.

  from  b26c084   Update from upstream stable branch:
   new  138de87   patches/any/cvs-resolv-internal-qtype.diff: patch from 
upstream to fix a NULL pointer dereference in libresolv when receiving a 
T_UNSPEC internal QTYPE (CVE-2015-5180).  Closes: #796106.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/changelog  |  3 +
 debian/patches/any/cvs-resolv-internal-qtype.diff | 78 +++
 debian/patches/series |  1 +
 3 files changed, 82 insertions(+)
 create mode 100644 debian/patches/any/cvs-resolv-internal-qtype.diff

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-glibc/glibc.git