]> git.ipfire.org Git - thirdparty/curl.git/commit
ftp: use memdup0 to store the OS from a SYST 215 response
authorDaniel Stenberg <daniel@haxx.se>
Fri, 5 Jan 2024 10:58:48 +0000 (11:58 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 6 Jan 2024 10:26:31 +0000 (11:26 +0100)
commit8edcfedc1a144f438bd1cdf814a0016cbe678aaf
tree31299e38c1b3baa0b5dcbc675bab28e4c8f0f6a0
parentf4beef524a53e1951c102fdb2ab96dd7a5e01077
ftp: use memdup0 to store the OS from a SYST 215 response

avoid malloc + direct buffer fiddle

Closes #12639
lib/ftp.c