summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc
diff options
context:
space:
mode:
authorJosephine Pfeiffer <hi@josie.lol>2025-10-01 21:14:04 +0200
committerHeiko Carstens <hca@linux.ibm.com>2025-10-21 10:17:29 +0200
commit5379879a76e25998d56c2136fef7d67eae33418f (patch)
tree60e3004e82dfca1a3beac610dd60f188907c1bf3 /tools/lib/python/kdoc
parentdd7d1d34ae484ba2caed8e01e03bdc4c263b1442 (diff)
s390/extmem: Replace sprintf() with snprintf() for buffer safety
Replace unsafe sprintf() calls with snprintf() in segment_save() to prevent potential buffer overflows. The function builds command strings by repeatedly appending to a fixed-size buffer, which could overflow if segment ranges are numerous or values are large. Signed-off-by: Josephine Pfeiffer <hi@josie.lol> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions