summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2025-10-07 12:05:01 +0300
committerHeiko Carstens <hca@linux.ibm.com>2025-10-21 11:17:30 +0300
commit68502211161d56e5d4185e4953648e02351dc633 (patch)
tree91d7080fcea3b41b687f74c25edf2b14a21c73a9 /tools/lib/python
parent4d065f3c80cc6c20437c75bec841eacc9488e360 (diff)
downloadlinux-68502211161d56e5d4185e4953648e02351dc633.tar.xz
s390/early: 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