glibc:fw/bug24562

Last commit made on 2019-05-16
Get this branch:
git clone -b fw/bug24562 https://git.launchpad.net/glibc

Branch merges

Branch information

Name:
fw/bug24562
Repository:
lp:glibc

Recent commits

d9d04be... by Florian Weimer on 2019-05-16

WIP Support exotic character sets in __fxprintf [BZ #24562]

This does not quite work because vfprintf has a similar
incorrect assumption.

11b451c... by Mark J. Wielaard on 2019-05-15

dlfcn: Guard __dlerror_main_freeres with __libc_once_get (once) [BZ# 24476]

dlerror.c (__dlerror_main_freeres) will try to free resources which only
have been initialized when init () has been called. That function is
called when resources are needed using __libc_once (once, init) where
once is a __libc_once_define (static, once) in the dlerror.c file.
Trying to free those resources if init () hasn't been called will
produce errors under valgrind memcheck. So guard the freeing of those
resources using __libc_once_get (once) and make sure we have a valid
key. Also add a similar guard to __dlerror ().

 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
 __libc_once_get (once) and static_bug == NULL.
 (__dlerror): Check we have a valid key, set result to static_buf
 otherwise.

Reviewed-by: Carlos O'Donell <email address hidden>

5dde9ef... by DJ Delorie <email address hidden> on 2019-05-15

Add missing Changelog entry

For 5b06f538c5aee0389ed034f60d90a8884d6d54de

32ff397... by Andreas Schwab <email address hidden> on 2019-05-14

Fix crash in _IO_wfile_sync (bug 20568)

When computing the length of the converted part of the stdio buffer, use
the number of consumed wide characters, not the (negative) distance to the
end of the wide buffer.

a9368c3... by Florian Weimer on 2019-05-15

nss: Turn __nss_database_lookup into a compatibility symbol

The function uses the internal service_user type, so it is not
really usable from the outside of glibc. Rename the function
to __nss_database_lookup2 for internal use, and change
__nss_database_lookup to always indicate failure to the caller.

__nss_next already was a compatibility symbol. The new
implementation always fails and no longer calls __nss_next2.

unscd, the alternative nscd implementation, does not use
__nss_database_lookup, so it is not affected by this change.

d50f091... by Alexandra Hájková <email address hidden> on 2019-05-13

support: Add support_install_rootsbindir

Reviewed by: Adhemerval Zanella <email address hidden>

7ac6fad... by Florian Weimer on 2019-05-15

iconv: Remove public declaration of __gconv_transliterate

Commit ba7b4d294b01870ce3497971e9d07ee261cdc540 ("Complete the
removal of __gconv_translit_find") added a declaration of the
GLIBC_PRIVATE function, __gconv_transliterate, to the installed
header <gconv.h>. It should have been added to the internal
<gconv_int.h> header.

Reviewed-by: Carlos O'Donell <email address hidden>

04b261b... by Florian Weimer on 2019-05-14

Linux: Add the tgkill function

The tgkill function is sometimes used in crash handlers.

<bits/signal_ext.h> follows the same approach as <bits/unistd_ext.h>
(which was added for the gettid system call wrapper).

Reviewed-by: Carlos O'Donell <email address hidden>

6807f47... by Carlos-0 on 2019-05-14

manual: Adjust twalk_r documentation.

Reviewed-by: Florian Weimer <email address hidden>

da2b83e... by Adhemerval Zanella on 2019-05-13

elf: Fix tst-pldd for non-default --prefix and/or --bindir (BZ#24544)

Use a new libsupport support_bindir_prefix instead of a hardcoded
/usr/bin to create the pldd path on container directory.

Checked on x86_64-linux-gnu with default and non-default --prefix and
--bindir paths, as well with --enable-hardcoded-path-in-tests.

 [BZ #24544]
 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
 pre-defined value.

Reviewed-by: DJ Delorie <email address hidden>