]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - ChangeLog
ja_JP locale: Add entry for the new Japanese era [BZ #22964]
[thirdparty/glibc.git] / ChangeLog
index 9728d6ba6cff71a7b8cfc528f71b74cea265dead..dd02102d5f60c8e323887b7a16322c56cdddbb1a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,248 @@
+2019-04-03  TAMUKI Shoichi  <tamuki@linet.gr.jp>
+
+       [BZ #22964]
+       * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
+       era.
+
+2019-03-21  Stefan Liebler  <stli@linux.ibm.com>
+
+       * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
+       Add HWCAP_S390_VX and HWCAP_S390_VXE.
+
+2019-01-31  Paul Eggert  <eggert@cs.ucla.edu>
+
+       CVE-2019-9169
+       regex: fix read overrun [BZ #24114]
+       Problem found by AddressSanitizer, reported by Hongxu Chen in:
+       https://debbugs.gnu.org/34140
+       * posix/regexec.c (proceed_next_node):
+       Do not read past end of input buffer.
+
+2018-11-07  Andreas Schwab  <schwab@suse.de>
+
+       [BZ #23864]
+       * sysdeps/unix/sysv/linux/riscv/kernel-features.h
+       (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
+       Undef.
+
+2018-09-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
+
+       * NEWS: Add note about new TLE support on powerpc64le.
+       * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
+       * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
+       __ununsed1.
+       (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
+       (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
+       * sysdeps/powerpc/powerpc32/sysdep.h,
+       sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
+       ABORT_TRANSACTION): Remove macros.
+       * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
+       __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
+       * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
+       sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
+       sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
+       usage.
+       * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
+
+2019-01-13  Jim Wilson  <jimw@sifive.com>
+
+       [BZ #24040]
+       * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
+       * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
+       (func): New.
+       (main): If USE_PTHREADS, call pthread_create to run func.  Otherwise
+       call func directly.
+       * nptl/Makefile (tests): Add tst-unwind-thread.
+       (CFLAGS-tst-unwind-thread.c): Define.
+       * nptl/tst-unwind-thread.c: New file.
+       * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
+       as undefined.
+
+2019-01-31  Carlos O'Donell  <carlos@redhat.com>
+           Torvald Riegel  <triegel@redhat.com>
+           Rik Prohaska  <prohaska7@gmail.com>
+
+       [BZ# 23844]
+       * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
+       tst-rwlock-trywrlock-stall.
+       * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
+       Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
+       * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
+       Set __wrphase_fute to 1 only if we started the write phase.
+       * nptl/tst-rwlock-tryrdlock-stall.c: New file.
+       * nptl/tst-rwlock-trywrlock-stall.c: New file.
+       * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
+       * support/xpthread_rwlock_destroy.c: New file.
+       * support/xthread.h: Declare xpthread_rwlock_destroy.
+
+2019-02-08  Florian Weimer  <fweimer@redhat.com>
+
+       [BZ #24161]
+       * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
+       argument.
+       * nptl/register-atfork.c (__run_fork_handlers): Only perform
+       locking if the new do_locking argument is true.
+       * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
+       __run_fork_handlers.
+
+2019-02-07  Stefan Liebler  <stli@linux.ibm.com>
+
+       [BZ #24180]
+       * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
+       Add compiler barriers and comments.
+
+2019-02-04  Florian Weimer  <fweimer@redhat.com>
+
+       [BZ #20018]
+       nscd: Do not rely on new GLIBC_PRIVATE ABI after CVE-2016-10739 fix.
+       * nscd/nscd-inet_addr.c: New file.  Build resolv/inet_addr.c for
+       nscd, without public symbols.
+       * nscd/Makefile (nscd-modules): Add it.
+       * nscd/gai.c: Include <arpa/inet.h> and change visibility of
+       __inet_aton_exact.
+
+2019-01-21  Florian Weimer  <fweimer@redhat.com>
+
+       [BZ #20018]
+       CVE-2016-10739
+       resolv: Reject trailing characters in host names
+       * include/arpa/inet.h (__inet_aton_exact): Declare.
+       (inet_aton): Remove hidden prototype.  No longer used internally.
+       * nscd/gai.c (__inet_aton): Do not define.
+       * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
+       * nss/digits_dots.c (__inet_aton): Likewise.
+       (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
+       * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
+       (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
+       (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
+       (tst-resolv-trailing): Likewise.
+       * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
+       libc.
+       * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
+       Make static.  Add endp parameter.
+       (__inet_aton_exact): New function.
+       (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
+       (__inet_addr): Call inet_aton_end.
+       * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
+       not just IPv6.  Call __inet_aton_exact.
+       * resolv/tst-aton.c: Switch to <support/test-driver.c>.
+       (tests): Make const.  Add additional test cases with trailing
+       characters.
+       (do_test): Use array_length.
+       * resolv/tst-inet_aton_exact.c: New file.
+       * resolv/tst-resolv-trailing.c: Likewise.
+       * resolv/tst-resolv-nondecimal.c: Likewise.
+       * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
+
+2019-01-18  Florian Weimer  <fweimer@redhat.com>
+
+       [BZ #24112]
+       resolv: Do not send queries for non-host-names in nss_dns.
+       * resolv/nss_dns/dns-host.c (check_name): New function.
+       (_nss_dns_gethostbyname2_r): Use it.
+       (_nss_dns_gethostbyname_r): Likewise.
+       (_nss_dns_gethostbyname4_r): Likewise.
+
+2019-01-21  Florian Weimer  <fweimer@redhat.com>
+
+       * resolv/inet_addr.c: Reformat to GNU style.
+       (__inet_addr, __inet_aton): Update comment.
+
+2019-02-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       [BZ #24155]
+       CVE-2019-7309
+       * NEWS: Updated for CVE-2019-7309.
+       * sysdeps/x86_64/memcmp.S: Use RDX_LP for size.  Clear the
+       upper 32 bits of RDX register for x32.  Use unsigned Jcc
+       instructions, instead of signed.
+       * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
+       * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
+
+2019-02-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       [BZ #24097]
+       CVE-2019-6488
+       * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
+       Clear the upper 32 bits of RSI register.
+       * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
+       * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
+       and tst-size_t-wcsnlen.
+       * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
+       * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
+
+2019-02-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       [BZ #24097]
+       CVE-2019-6488
+       * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Use RDX_LP
+       for length.
+       * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
+       * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
+       * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
+
+2019-02-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       [BZ #24097]
+       CVE-2019-6488
+       * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
+       * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
+       * sysdeps/x86_64/strcmp.S: Likewise.
+       * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
+       tst-size_t-strncmp and tst-size_t-wcsncmp.
+       * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
+       * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
+       * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
+
+2019-02-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       [BZ #24097]
+       CVE-2019-6488
+       * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
+       RDX_LP for length.  Clear the upper 32 bits of RDX register.
+       * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
+       * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
+       * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
+       * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
+
+2019-02-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       [BZ #24097]
+       CVE-2019-6488
+       * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
+       * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
+       * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
+       * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
+
+2019-02-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       [BZ #24097]
+       CVE-2019-6488
+       * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
+       length.  Clear the upper 32 bits of RDX register.
+       * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
+       * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
+       Likewise.
+       * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
+       Likewise.
+       * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
+       tst-size_t-wmemchr.
+       * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
+
+2019-02-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       [BZ #24097]
+       CVE-2019-6488
+       * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
+       length.  Clear the upper 32 bits of RDX register.
+       * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
+       * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
+       * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
+       tst-size_t-wmemcmp.
+       * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
+       * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
+
 2019-02-01  H.J. Lu  <hongjiu.lu@intel.com>
 
        [BZ #24097]