diff options
author | 2025-07-01 21:48:03 +0200 | |
---|---|---|
committer | 2025-07-01 15:22:46 -0700 | |
commit | bf4807c89d8f92c47404b1e4eeeefb42259d1b50 (patch) | |
tree | 05420dd3623b9445124ae1fabf8446c47c35b9ca /tools/perf/scripts/python/Perf-Trace-Util | |
parent | bpf: Reject %p% format string in bprintf-like helpers (diff) | |
download | wireguard-linux-bf4807c89d8f92c47404b1e4eeeefb42259d1b50.tar.xz wireguard-linux-bf4807c89d8f92c47404b1e4eeeefb42259d1b50.zip |
selftests/bpf: Add negative test cases for snprintf
This patch adds a couple negative test cases with a trailing % at the
end of the format string. The %p% case was fixed by the previous commit,
whereas the %s% case was already successfully rejected before.
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Signed-off-by: Paul Chaignon <paul.chaignon@gmail.com>
Link: https://lore.kernel.org/r/0669bf6eb4f9e5bb10e949d60311c06e2d942447.1751395489.git.paul.chaignon@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util')
0 files changed, 0 insertions, 0 deletions