diff options
| author | David Laight <david.laight.linux@gmail.com> | 2026-03-02 10:17:58 +0000 |
|---|---|---|
| committer | Thomas Weißschuh <linux@weissschuh.net> | 2026-03-20 17:46:04 +0100 |
| commit | 4ea2dedd502e2b4bfa8a47f2aaaaac4eab01e00d (patch) | |
| tree | c497cdf4065c3b67134deafdd589f87cf952417d /tools/perf/scripts/python/stackcollapse.py | |
| parent | f36e1ec61a6adb135d1b4021bc849c6acb96f50c (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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
