summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorLen Baker <len.baker@gmx.com>2021-08-08 14:50:10 +0200
committerBjorn Andersson <bjorn.andersson@linaro.org>2021-09-21 17:41:49 -0500
commit26bc7a6a0beed882032aa7c945e44d7e82887073 (patch)
tree9c045e791c3e9445618a830ceddc88db86de812e /tools/perf/scripts/python/export-to-sqlite.py
parentf69a91e376695ae6048934c92f6b7eea6c51cd86 (diff)
soc: qcom: pdr: Prefer strscpy 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. The safe replacement is strscpy(). This is a previous step in the path to remove the strcpy() function entirely from the kernel. Signed-off-by: Len Baker <len.baker@gmx.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20210808125012.4715-2-len.baker@gmx.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions