]> git.ipfire.org Git - thirdparty/curl.git/commit
ftplistparser: clear strings.target if not symlink master
authorDaniel Stenberg <daniel@haxx.se>
Sat, 6 Jun 2026 21:38:22 +0000 (23:38 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 6 Jun 2026 22:26:51 +0000 (00:26 +0200)
commit317bf7e8a8e71b60753a1efacfa323695431bd4e
tree3dcc99c85b4bf8ff40409961924823f23a8f09c6
parent38b72f3b56b378c03276b150ddb31899581ece06
ftplistparser: clear strings.target if not symlink

When the struct is passed to the CURLOPT_CHUNK_BGN_FUNCTION callback,
clear the pointer if the provided data is not a symlink.

Closes #21884
lib/ftplistparser.c