diff options
author | Ahmed Salem <x0rw3ll@gmail.com> | 2025-04-25 21:32:12 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2025-05-12 15:38:42 +0200 |
commit | ebf27765421c9238b7835d32a95e4a7fb8db26a4 (patch) | |
tree | 7548c127a30da7eb39a2ca111bc275cf1a612a64 /tools/perf/scripts/python/gecko.py | |
parent | 70662db73d5455ebc8a1da29973fa70237b18cd2 (diff) |
ACPICA: Replace strncpy() with memcpy()
ACPICA commit 83019b471e1902151e67c588014ba2d09fa099a3
strncpy() is deprecated for NUL-terminated destination buffers[1].
Use memcpy() for length-bounded destinations.
Link: https://github.com/KSPP/linux/issues/90 [1]
Link: https://github.com/acpica/acpica/commit/83019b47
Signed-off-by: Ahmed Salem <x0rw3ll@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/1910878.atdPhlSkOF@rjwysocki.net
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions