This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug network/21359] ns_name_pack needs additional byte in destination buffer


https://sourceware.org/bugzilla/show_bug.cgi?id=21359

--- Comment #1 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, master has been updated
       via  c803cb9b24c6cea15698768e4301e963b98e742c (commit)
      from  a7ff1da8239a5f0e1927db9d5310f53cfea97fc2 (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=c803cb9b24c6cea15698768e4301e963b98e742c

commit c803cb9b24c6cea15698768e4301e963b98e742c
Author: Florian Weimer <fweimer@redhat.com>
Date:   Thu Apr 13 11:56:28 2017 +0200

    resolv: Support an exactly sized buffer in ns_name_pack [BZ #21359]

    This bug did not affect name resolution because those functions
    indirectly call ns_name_pack with a buffer which is always larger
    than the generated query packet, even in the case of the
    longest-possible domain name.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                     |   16 +++++
 resolv/Makefile               |    2 +
 resolv/ns_name.c              |    2 +-
 resolv/tst-ns_name.c          |  139 ++++++++++++++++++++++++++++++++++++++++-
 resolv/tst-ns_name_compress.c |   75 ++++++++++++++++++++++
 resolv/tst-resolv-basic.c     |   30 +++++++++-
 6 files changed, 260 insertions(+), 4 deletions(-)
 create mode 100644 resolv/tst-ns_name_compress.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]