summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorOle Wiedemann <ole.wiedemann@fau.de>2019-12-13 16:10:32 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-14 18:17:11 +0300
commit8297ca5e8c70ddb58cf03cd0411929ab87a44860 (patch)
tree5d82c354dc71d56e9e50f40cff4f6865dca5054d /tools/perf/scripts/python/stackcollapse.py
parentcdb9c044f92b78557e5e535819a932caeff81668 (diff)
downloadlinux-8297ca5e8c70ddb58cf03cd0411929ab87a44860.tar.xz
staging: android: ashmem: Replace strcpy with strscpy
Replaced strcpy call with safer strscpy call with given length. This elimates the need to manually null-terminate the given string, since strscpy will null terminate the destination anyway.: Signed-off-by: Ole Wiedemann <ole.wiedemann@fau.de> Co-developed-by: Sebastian Scherbel <sebastian.scherbel@fau.de> Signed-off-by: Sebastian Scherbel <sebastian.scherbel@fau.de> Acked-by: Christian Brauner <christian.brauner@ubuntu.com> Acked-by: Joel Fernandes (Google) <joel@joelfernandes.org> Acked-by: Todd Kjos <tkjos@google.com> Link: https://lore.kernel.org/r/20191213131032.22579-1-ole.wiedemann@fau.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions