curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Crash when using CURLOPT_WILDCARDMATCH

From: Antoine via curl-library <curl-library_at_cool.haxx.se>
Date: Thu, 20 Feb 2020 14:25:47 +0000

Hi,
I'm getting a constant crash with libcurl when using the
CURLOPT_WILDCARDMATCH option. From what I could investigate it crashes in
the following function in ftp.c :
        static CURLcode wc_statemach(struct connectdata *conn)
It crashes on the call to the chunk_bgn callback:
userresponse = conn->data->set.chunk_bgn(
        finfo, wildcard->customptr, (int)wildcard->filelist.size);

It wasn't crashing in our previous versions using libcurl 7.41.0, but it
now crashes constantly with version 7.64.1, although we haven't changed
the code of our chunk_bgn callback function. Is that a known issue, I
couldn't find any info online about it?

Thanks for your help!

Antoine

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2020-02-20