Skip to content
Commit 37fd2ac6 authored by Noah Goldstein's avatar Noah Goldstein Committed by Aurelien Jarno
Browse files

stdlib: Fixup mbstowcs NULL __dst handling. [BZ #29279]



commit 464d189b (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: default avatarSiddhesh Poyarekar <siddhesh@sourceware.org>

(cherry picked from commit 220b83d8)
parent a1ec4157
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment