diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2025-04-24 11:27:10 +0200 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2025-04-30 11:41:28 +0200 |
commit | ed5eef1141a35551a56c9cc0c475f0e0b6291e77 (patch) | |
tree | d2622927827b25a0b184b46536d0b2e01f188385 /scripts/generate_rust_analyzer.py | |
parent | 7e7f94d1069ca914f91483fb03880b5eb5736235 (diff) |
s390/con3270: Use strscpy() instead of strcpy()
Use strscpy() instead of strcpy() so that bounds checking is performed
on the destination buffer. This requires to keep track of the size of
the dynamically allocated prompt memory area, which is done with a new
prompt_sz within struct tty3270.
Reviewed-by: Mikhail Zaslonko <zaslonko@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions