]> git.ipfire.org Git - thirdparty/curl.git/commit
lib: reduce memcpy calls
authorDaniel Stenberg <daniel@haxx.se>
Thu, 30 Oct 2025 13:42:03 +0000 (14:42 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 30 Oct 2025 14:40:21 +0000 (15:40 +0100)
commit80258309b26546e27837432b0121f4e65e74b030
tree534f3c7f201a8b71b5cc3e49650b86f5fa2d0284
parentfbc4d59151dc4a56052f3a92da3682dc97b32148
lib: reduce memcpy calls

socks_gssapi: the malloc + memcpy was superflous and can be skipped

cleartext: avoid malloc + three memcpy with aprintf()

digest_sspi: use memdup0 instead of malloc + memcpy

vtls: use memdup0 instead of malloc + memcpy

Closes #19282
lib/socks_gssapi.c
lib/vauth/cleartext.c
lib/vauth/digest_sspi.c
lib/vtls/vtls.c