]> git.ipfire.org Git - thirdparty/curl.git/commit
lib: reduce use of strncpy
authorDaniel Stenberg <daniel@haxx.se>
Mon, 11 Dec 2023 15:15:57 +0000 (16:15 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 11 Dec 2023 22:29:02 +0000 (23:29 +0100)
commitff74cef5d4a0cf60106517a1c7384ebec039e0a2
treedac2199ebd7c9eb35d46b495f9370d18d4ddd4dd
parent9efdefe6b12a53789f2f8c4112dca94586b1387f
lib: reduce use of strncpy

- bearssl: select cipher without buffer copies
- http_aws_sigv4: avoid strncpy, require exact timestamp length
- http_aws_sigv4: use memcpy isntead of strncpy
- openssl: avoid strncpy calls
- schannel: check for 1.3 algos without buffer copies
- strerror: avoid strncpy calls
- telnet: avoid strncpy, return error on too long inputs
- vtls: avoid strncpy in multissl_version()

Closes #12499
lib/http_aws_sigv4.c
lib/strerror.c
lib/telnet.c
lib/vtls/bearssl.c
lib/vtls/openssl.c
lib/vtls/schannel.c
lib/vtls/vtls.c