diff options
| author | Josephine Pfeiffer <hi@josie.lol> | 2025-10-01 18:36:22 +0200 |
|---|---|---|
| committer | Heiko Carstens <hca@linux.ibm.com> | 2025-10-21 10:17:20 +0200 |
| commit | dd7d1d34ae484ba2caed8e01e03bdc4c263b1442 (patch) | |
| tree | bfcc033238bb65cd0014e8702d0168be9233b53f /tools/lib/python | |
| parent | 211ddde0823f1442e4ad052a2f30f050145ccada (diff) | |
s390/cmm: Replace sprintf() with scnprintf() for buffer safety
Replace sprintf() with scnprintf() in cmm_timeout_handler() to prevent
potential buffer overflow. The scnprintf() function ensures we don't
write beyond the buffer size and provides safer string formatting.
Signed-off-by: Josephine Pfeiffer <hi@josie.lol>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
