After the revision, the following fails: $ cat /tmp/x.c #include <stdlib.h> const char *name; int len; int main() { if (mbstowcs (NULL, name, len) == -1) return 0; } $ gcc /tmp/x.c -D_FORTIFY_SOURCE=2 -O2 /usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: /tmp/ccWxqRJf.o: in function `main': x.c:(.text.startup+0x15): undefined reference to `mbstowcs_chk' collect2: error: ld returned 1 exit status
Should get fixed once Noah pushes this: https://patchwork.sourceware.org/project/glibc/patch/20220622233442.2777550-1-goldstein.w.n@gmail.com/
(In reply to Siddhesh Poyarekar from comment #1) > Should get fixed once Noah pushes this: > > https://patchwork.sourceware.org/project/glibc/patch/20220622233442.2777550- > 1-goldstein.w.n@gmail.com/ Pushed it.
Should be fixed now.