stdio-common: tests: Incorrect maxlen parameter for swprintf
commit427dbaee86bcec31ba2fe9a42f32842cf17c4e77
authorFrederic Berat <fberat@redhat.com>
Tue, 20 Jun 2023 18:18:53 +0000 (20 20:18 +0200)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Thu, 22 Jun 2023 04:20:55 +0000 (22 00:20 -0400)
treea14fb2e6e3691af6042de4a4de9454176527f756
parent1bc85effd549ae42318b37555a4c76ebc479b92a
stdio-common: tests: Incorrect maxlen parameter for swprintf

Few tests using swprintf are passing incorrect maxlen parameter.
This triggers an abort when _FORTIFY_SOURCE is enabled.

Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
stdio-common/tst-printf-bz25691.c
stdio-common/tst-vfprintf-mbs-prec.c