aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorAndre Przywara <[email protected]>2024-08-16 16:32:47 +0100
committerCatalin Marinas <[email protected]>2024-10-17 18:54:11 +0100
commit0f995f22a03fef8f3bff51d22a0a78c768536814 (patch)
tree9e1a627ece404ad6a671415cfcd3e05afc6fa2b3 /tools/perf/scripts/python/net_dropmonitor.py
parentbf52ca5912c07664276c7b94db820fa2d638b681 (diff)
kselftest/arm64: mte: use string literal for printf-style functions
Using pointers for the format specifier strings in printf-style functions can create potential security problems, as the number of arguments to be parsed could vary from call to call. Most compilers consequently warn about those: "format not a string literal and no format arguments [-Wformat-security]" If we only want to print a constant string, we can just use a fixed "%s" format instead, and pass the string as an argument. Signed-off-by: Andre Przywara <[email protected]> Reviewed-by: Mark Brown <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions