public inbox for glibc-bugs@sourceware.org help / color / mirror / Atom feed
From: "dbavatar at gmail dot com" <sourceware-bugzilla@sourceware.org> To: glibc-bugs@sourceware.org Subject: [Bug network/16002] New: calls to getaddrinfo() can segfault with large numbers of local ipaddrs. Date: Fri, 04 Oct 2013 20:18:00 -0000 [thread overview] Message-ID: <bug-16002-131@http.sourceware.org/bugzilla/> (raw) https://sourceware.org/bugzilla/show_bug.cgi?id=16002 Bug ID: 16002 Summary: calls to getaddrinfo() can segfault with large numbers of local ipaddrs. Product: glibc Version: 2.18 Status: NEW Severity: normal Priority: P2 Component: network Assignee: unassigned at sourceware dot org Reporter: dbavatar at gmail dot com __check_pf() uses alloca() without checking input size (list of local ipaddrs), eventually this will exceed the stack and segfault. Needs to be converted to alloca_account with malloc fallback. Patch being send to libc-alpha. -- You are receiving this mail because: You are on the CC list for the bug.
next reply other threads:[~2013-10-04 20:18 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-10-04 20:18 dbavatar at gmail dot com [this message] 2013-10-08 19:17 ` [Bug network/16002] " neleai at seznam dot cz 2014-03-24 14:21 ` schwab@linux-m68k.org 2014-03-24 15:07 ` cvs-commit at gcc dot gnu.org 2014-03-24 15:14 ` schwab@linux-m68k.org 2014-03-24 15:18 ` schwab@linux-m68k.org 2014-06-13 12:42 ` fweimer at redhat dot com 2023-07-29 14:11 ` sam at gentoo dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-16002-131@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=glibc-bugs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).