about summary refs log tree commit diff
path: root/stdlib/wcstombs.c
diff options
context:
space:
mode:
authorNoah Goldstein <goldstein.w.n@gmail.com>2022-06-22 16:34:42 -0700
committerNoah Goldstein <goldstein.w.n@gmail.com>2022-06-23 08:26:01 -0700
commit220b83d83d32aa9e6f5659e2fa2a63a0024c3e4a (patch)
tree93df183be6ae8a168d38501ca3c0b7df33fa59cb /stdlib/wcstombs.c
parent3079f652d7cc34456aefb412677c01e758922527 (diff)
downloadglibc-220b83d83d32aa9e6f5659e2fa2a63a0024c3e4a.tar.gz
glibc-220b83d83d32aa9e6f5659e2fa2a63a0024c3e4a.tar.xz
glibc-220b83d83d32aa9e6f5659e2fa2a63a0024c3e4a.zip
stdlib: Fixup mbstowcs NULL __dst handling. [BZ #29279]
commit 464d189b9622932a75302290625de84931656ec0 (origin/master, origin/HEAD)
Author: Noah Goldstein <goldstein.w.n@gmail.com>
Date:   Wed Jun 22 08:24:21 2022 -0700

    stdlib: Remove attr_write from mbstows if dst is NULL [BZ: 29265]

Incorrectly called `__mbstowcs_chk` in the NULL __dst case which is
incorrect as in the NULL __dst case we are explicitly skipping
the objsize checks.

As well, remove the `__always_inline` attribute which exists in
`__fortify_function`.
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Diffstat (limited to 'stdlib/wcstombs.c')
0 files changed, 0 insertions, 0 deletions