summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2025-10-07 12:05:03 +0300
committerHeiko Carstens <hca@linux.ibm.com>2025-10-21 11:17:30 +0300
commitffb5d3af5e2b52472f236f8bb13414c7fab99797 (patch)
tree703b2a3db9793dfeebac82dd98217ee5251b5fd7 /tools/lib/python
parentba06238bbe6a8697e281e2839fc54bcec45ae143 (diff)
downloadlinux-ffb5d3af5e2b52472f236f8bb13414c7fab99797.tar.xz
s390/dcss: Use scnprintf() instead of sprintf()
Use scnprintf() instead of sprintf() for those cases where the destination is an array and the size of the array is known at compile time. This prevents theoretical buffer overflows, but also avoids that people again and again spend time to figure out if the code is actually safe. Reviewed-by: Jan Polensky <japo@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions