diff options
| author | 2026-03-02 10:17:58 +0000 | |
|---|---|---|
| committer | 2026-03-20 17:46:04 +0100 | |
| commit | 4ea2dedd502e2b4bfa8a47f2aaaaac4eab01e00d (patch) | |
| tree | c497cdf4065c3b67134deafdd589f87cf952417d /scripts/Makefile.thinlto | |
| parent | selftests/nolibc: Use length of 'expected' string to check snprintf() output (diff) | |
selftests/nolibc: Check that snprintf() doesn't write beyond the buffer end
Fill buf[] with known data and check the vsnprintf() doesn't write
beyond the specified buffer length.
Would have picked up the bug in field padding.
Signed-off-by: David Laight <david.laight.linux@gmail.com>
Acked-by: Willy Tarreau <w@1wt.eu>
Link: https://patch.msgid.link/20260302101815.3043-7-david.laight.linux@gmail.com
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
