summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/kdoc_re.py
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2025-10-07 11:05:06 +0200
committerHeiko Carstens <hca@linux.ibm.com>2025-12-07 16:15:18 +0100
commitd9f59178011265344a4864757cf21523668a2a75 (patch)
tree1aa51a4b5870cfe18980085bcb8f5003428e68c6 /tools/lib/python/kdoc/kdoc_re.py
parent51d90a15fedf8366cb96ef68d0ea2d0bf15417d2 (diff)
s390/vmur: 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/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions