diff options
| author | Pengpeng Hou <pengpeng@iscas.ac.cn> | 2026-04-08 15:35:13 +0800 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2026-09-24 16:17:19 +0200 |
| commit | 5bde583d13efe2592803e3bffaf5462b05003c72 (patch) | |
| tree | 81e67c93f9e0306518d66f9cc8c77d13234d3121 /tools/perf/scripts/python | |
| parent | 2f897199494f8532245e3066af07d8e0fd75efc4 (diff) | |
um: mconsole: use bounded version string formatting
mconsole_version() formats several UTS strings into a fixed 256-byte
local buffer with sprintf() and no length bound.
Use snprintf() so the version reply stays within the local buffer.
Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Link: https://patch.msgid.link/20260408160001.1-um-mconsole-v2-pengpeng@iscas.ac.cn
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
