This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug network/17125] posix/bug-ga2 fails when there is no ipv6 interface
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 10 Jul 2014 09:02:33 +0000
- Subject: [Bug network/17125] posix/bug-ga2 fails when there is no ipv6 interface
- Auto-submitted: auto-generated
- References: <bug-17125-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17125
--- 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 888c679ba406e89d86bdfbde033e307f5af5198f (commit)
via 180e0e4b29e4950cd411144c7b9dab1f850853d9 (commit)
via d22f1fe2f369a273533e50d757c4590adf147ef1 (commit)
via 12f2254b815056bb897a25a0c6dee0122aef52ac (commit)
via c3c7c3604fdf934d7a8ec70d79915cd8c8984ad1 (commit)
via d62aa75af1941fca6f07e107afc447b7b248e340 (commit)
from 7000d82e01dc04344eaa1772698c9b0c304a892f (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=888c679ba406e89d86bdfbde033e307f5af5198f
commit 888c679ba406e89d86bdfbde033e307f5af5198f
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date: Thu Jul 10 14:24:30 2014 +0530
Sync up error.c with gnulib
Summary of changes:
- Use of !_LIBC instead of HAVE_CONFIG_H
- Code changes in [!_LIBC] that don't affect us
- Minor formatting changes
- Use __builtin_expect in shared code
- Define some macros in [_LIBC] that are used in gnulib but never
defined in glibc
- Flip macro check for STRERROR_R_CHAR_P so that it does not throw a
warning
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=180e0e4b29e4950cd411144c7b9dab1f850853d9
commit 180e0e4b29e4950cd411144c7b9dab1f850853d9
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date: Thu Jul 10 14:21:27 2014 +0530
Fix -Wundef warning for HAVE_LOCALTIME_R
Define it to 0. There is a gnulib copy for this, but it is out of
sync with our copy.
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d22f1fe2f369a273533e50d757c4590adf147ef1
commit d22f1fe2f369a273533e50d757c4590adf147ef1
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date: Thu Jul 10 14:20:42 2014 +0530
Fix Wundef warning for HAVE_STRFTIME
Define it to 0
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=12f2254b815056bb897a25a0c6dee0122aef52ac
commit 12f2254b815056bb897a25a0c6dee0122aef52ac
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date: Thu Jul 10 14:19:21 2014 +0530
Fix -Wundef warning for HAVE_SYS_PARAM_H
Include sys/param.h unconditionally
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c3c7c3604fdf934d7a8ec70d79915cd8c8984ad1
commit c3c7c3604fdf934d7a8ec70d79915cd8c8984ad1
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date: Thu Jul 10 14:18:13 2014 +0530
Fix -Wundef warning for HAVE_OBSTACK
Remove the HAVE_OBSTACK macro check and include obstack check in
include path order since we don't have a copy of obstack.h in the
current directory.
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d62aa75af1941fca6f07e107afc447b7b248e340
commit d62aa75af1941fca6f07e107afc447b7b248e340
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date: Thu Jul 10 14:15:16 2014 +0530
Fix crash when system has no ipv6 address [BZ #17125]
Here's an updated patch to fix the crash in bug-ga2 when the system
has no configured ipv6 address. I have taken a different approach of
using libc_freeres_fn instead of the libc_freeres_ptr since the former
gives better control over what is freed; we need that since cache may
or may not be allocated using malloc.
Verified that bug-ga2 works correctly in both cases and does not have
memory leaks in either of them.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 30 +++++++++++
NEWS | 2 +-
io/ftw.c | 4 +-
locale/programs/simple-hash.c | 6 +--
misc/error.c | 96 ++++++++++++++++++++++++++++++++----
sysdeps/unix/sysv/linux/check_pf.c | 8 +++-
time/strftime_l.c | 1 +
time/strptime_l.c | 1 +
8 files changed, 128 insertions(+), 20 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.