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/16002] calls to getaddrinfo() can segfault with large numbers of local ipaddrs.


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

--- 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, master has been updated
       via  44152e4b05fcc8bae5628cdb37342d9b7bd5ac3c (commit)
      from  b376a11a19aa7b64107081e4eed2327c25a131be (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=44152e4b05fcc8bae5628cdb37342d9b7bd5ac3c

commit 44152e4b05fcc8bae5628cdb37342d9b7bd5ac3c
Author: Andreas Schwab <schwab@suse.de>
Date:   Mon Mar 24 11:06:30 2014 +0100

    Account for alloca use when collecting interface addresses (bug 16002)

    To reproduce:

        # ip li add name dummy0 type dummy
        # site_id=$(head -c6 /dev/urandom | od -tx2 -An | tr ' ' ':')
        # for ((i = 0; i < 65536; i++)) do
        > ip ad ad $(printf fd80$site_id::%04x $i)/128 dev dummy0
        > done
        # (ulimit -s 900; getent ahosts localhost)
        # ip li de dummy0

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

Summary of changes:
 ChangeLog                          |    6 ++++++
 NEWS                               |    6 +++---
 sysdeps/unix/sysv/linux/check_pf.c |   32 ++++++++++++++++++++++++++++----
 3 files changed, 37 insertions(+), 7 deletions(-)

-- 
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]