summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2025-10-07 12:05:06 +0300
committerHeiko Carstens <hca@linux.ibm.com>2025-12-07 18:15:18 +0300
commitd9f59178011265344a4864757cf21523668a2a75 (patch)
tree1aa51a4b5870cfe18980085bcb8f5003428e68c6 /scripts/patch-kernel
parent51d90a15fedf8366cb96ef68d0ea2d0bf15417d2 (diff)
downloadlinux-d9f59178011265344a4864757cf21523668a2a75.tar.xz
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 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions