diff options
| author | Josephine Pfeiffer <hi@josie.lol> | 2025-10-01 19:41:04 +0200 |
|---|---|---|
| committer | Heiko Carstens <hca@linux.ibm.com> | 2025-10-21 10:17:29 +0200 |
| commit | 4738e1166260fd812faf5fef624b0f9308d8c4d4 (patch) | |
| tree | 9d70b605d64b6f03c64e6a207aefa5360259e9f2 /tools/lib/python/kdoc/python_version.py | |
| parent | 5379879a76e25998d56c2136fef7d67eae33418f (diff) | |
s390/sysinfo: Replace sprintf() with snprintf() for buffer safety
Replace sprintf() with snprintf() when formatting symlink target name
to prevent potential buffer overflow. The link_to buffer is only 10
bytes, and using snprintf() ensures proper bounds checking if the
topology nesting limit value is unexpectedly 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/python_version.py')
0 files changed, 0 insertions, 0 deletions
