[00/20] patches from the morello port

Message ID cover.1666877952.git.szabolcs.nagy@arm.com
Headers
Series patches from the morello port |

Message

Szabolcs Nagy Oct. 27, 2022, 3:32 p.m. UTC
  These are patches from the current arm/morello/main branch that i think
can be included into master.

Carlos Eduardo Seo (1):
  malloc: Use uintptr_t for pointer alignment

Szabolcs Nagy (19):
  Fix OOB read in stdlib thousand grouping parsing [BZ #29727]
  scripts: Use bool in tunables initializer
  aarch64: Don't build wordcopy
  aarch64: Fix the extension header write in getcontext and swapcontext
  Fix invalid pointer dereference in wcscpy_chk
  Fix invalid pointer dereference in wcpcpy_chk
  Use uintptr_t in fts for pointer alignment
  malloc: Use uintptr_t in alloc_buffer
  malloc: Fix alignment logic in obstack
  elf: Fix alloca size in _dl_debug_vdprintf
  Fix the symbolic link of multilib dirs
  Use uintptr_t in string/tester for pointer alignment
  Fix off-by-one OOB write in iconv/tst-iconv-mt
  Fix off-by-one OOB read in elf/tst-tls20
  Fix malloc/tst-scratch_buffer OOB access
  Fix missing NUL terminator in stdio-common/scanf13 test
  Fix elf/tst-dlmopen-twice to support enough link namespaces
  Fix resource/bug-ulimit1 test
  Fix stdlib/test-dlclose-exit-race to not hang

 Makerules                                     |  2 +-
 debug/wcpcpy_chk.c                            |  3 +-
 debug/wcscpy_chk.c                            | 34 ++++---------------
 elf/Makefile                                  |  1 +
 elf/dl-printf.c                               |  7 ++--
 elf/tst-dlmopen-twice.c                       |  2 +-
 elf/tst-tls20.c                               |  4 +--
 iconv/tst-iconv-mt.c                          |  4 +--
 include/alloc_buffer.h                        | 10 +++---
 io/fts.c                                      |  3 +-
 malloc/alloc_buffer_alloc_array.c             |  6 ++--
 malloc/arena.c                                |  6 ++--
 malloc/obstack.h                              | 19 ++---------
 malloc/tst-scratch_buffer.c                   | 22 ++++--------
 resource/bug-ulimit1.c                        |  2 +-
 scripts/gen-tunables.awk                      |  2 +-
 stdio-common/scanf13.c                        |  1 +
 stdlib/grouping.c                             |  8 +++++
 stdlib/test-dlclose-exit-race.c               |  4 ++-
 string/tester.c                               | 13 +++----
 sysdeps/aarch64/wordcopy.c                    |  0
 sysdeps/unix/sysv/linux/aarch64/getcontext.S  |  4 +--
 sysdeps/unix/sysv/linux/aarch64/swapcontext.S |  4 +--
 23 files changed, 68 insertions(+), 93 deletions(-)
 create mode 100644 sysdeps/aarch64/wordcopy.c