This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug network/19825] resolv: send_vc can return uninitialized data in second response to getaddrinfo
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 09 May 2016 09:41:09 +0000
- Subject: [Bug network/19825] resolv: send_vc can return uninitialized data in second response to getaddrinfo
- Auto-submitted: auto-generated
- References: <bug-19825-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=19825
--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, release/2.23/master has been updated
via 075b2665b159491fdd17f5aee90d47fa7388ed6f (commit)
from 1e5ac8a1daa360cd9632e5056e4bdf29e18ac2c7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=075b2665b159491fdd17f5aee90d47fa7388ed6f
commit 075b2665b159491fdd17f5aee90d47fa7388ed6f
Author: Florian Weimer <fweimer@redhat.com>
Date: Wed Apr 27 14:26:47 2016 +0200
resolv: Always set *resplen2 out parameter in send_vc [BZ #19825]
In various error scenarios (for example, if the server closes the
TCP connection before sending the full response), send_vc can return
without resetting the *resplen2 value. This can pass uninitialized
or unexpected data to the caller.
(cherry picked from commit b9bdfa7c8fa22c944bb5f21a673dfd1f91b71c56)
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 7 +++++++
resolv/res_send.c | 39 ++++++++++++++++++---------------------
2 files changed, 25 insertions(+), 21 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.