aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorLen Baker <[email protected]>2021-08-08 14:50:11 +0200
committerGeert Uytterhoeven <[email protected]>2021-08-12 12:36:57 +0200
commit148bcca9ad0488d623aa36b21ac152bb056a1ae4 (patch)
tree5f1b5512f0506500396eaaffb277038c3a3a6b3c /tools/perf/scripts/python/export-to-sqlite.py
parentbfe6b5590ce6cab81b3ee51b4541bd1d0b18b3b2 (diff)
soc: renesas: Prefer memcpy() over strcpy()
strcpy() performs no bounds checking on the destination buffer. This could result in linear overflows beyond the end of the buffer, leading to all kinds of misbehaviors. So, use memcpy() as a safe replacement. This is a previous step in the path to remove the strcpy() function entirely from the kernel. Signed-off-by: Len Baker <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Geert Uytterhoeven <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions