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/20611] getaddrinfo accepts invalid numeric scope IDs


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

--- 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  80d8cb91dee8bdcc4e430b3e2620d95f89b1ee0b (commit)
      from  a0a9b6e376b75c07b4f65f270f008ce035bbf536 (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=80d8cb91dee8bdcc4e430b3e2620d95f89b1ee0b

commit 80d8cb91dee8bdcc4e430b3e2620d95f89b1ee0b
Author: Florian Weimer <fweimer@redhat.com>
Date:   Thu Sep 15 15:46:30 2016 +0200

    inet: Add __inet6_scopeid_pton function [BZ #20611]

    __inet6_scopeid_pton implements strict validation of numeric scope IDs.
    Use it in getaddrinfo and __res_vinit.

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

Summary of changes:
 ChangeLog                     |   12 ++++
 inet/Makefile                 |    6 +-
 inet/Versions                 |    3 +
 inet/inet6_scopeid_pton.c     |   63 ++++++++++++++++++++
 inet/net-internal.h           |   30 +++++++++
 inet/tst-inet6_scopeid_pton.c |  131 +++++++++++++++++++++++++++++++++++++++++
 resolv/res_init.c             |   27 ++------
 sysdeps/posix/getaddrinfo.c   |   31 ++--------
 8 files changed, 257 insertions(+), 46 deletions(-)
 create mode 100644 inet/inet6_scopeid_pton.c
 create mode 100644 inet/net-internal.h
 create mode 100644 inet/tst-inet6_scopeid_pton.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]