diff options
| author | Thorsten Blum <blum@kernel.org> | 2026-09-20 12:30:36 +0200 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2026-10-13 12:03:15 +0300 |
| commit | 9af0245d04916b5973a68cbd24a61cdcd70a1db7 (patch) | |
| tree | eb8984e677d8e533880386e9d82e2dba0d6d6c9f /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 7feafba2f8ab545ae20492b71dac6c3fc781d497 (diff) | |
platform/x86: think-lmi: Use scnprintf() in new_password_store()
While the current code works correctly, replace unbounded sprintf()
calls with the safer scnprintf() in new_password_store() to follow secure
coding best practices.
Signed-off-by: Thorsten Blum <blum@kernel.org>
Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Link: https://patch.msgid.link/20260920103035.281573-2-blum@kernel.org
[ij: snprintf() -> scnprintf()]
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
