summaryrefslogtreecommitdiff
path: root/scripts/lib
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2025-04-24 12:27:10 +0300
committerHeiko Carstens <hca@linux.ibm.com>2025-04-30 12:41:28 +0300
commited5eef1141a35551a56c9cc0c475f0e0b6291e77 (patch)
treed2622927827b25a0b184b46536d0b2e01f188385 /scripts/lib
parent7e7f94d1069ca914f91483fb03880b5eb5736235 (diff)
downloadlinux-ed5eef1141a35551a56c9cc0c475f0e0b6291e77.tar.xz
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/lib')
0 files changed, 0 insertions, 0 deletions